Add name on instance info
This commit is contained in:
parent
a968962b40
commit
de89765747
@ -392,7 +392,8 @@ def logout():
|
||||
def settings():
|
||||
instanceInfo = {
|
||||
"totalUsers":db.session.query(User).count(),
|
||||
"location":config['serverLocation']
|
||||
"location":config['serverLocation'],
|
||||
"serverName":config['serverName']
|
||||
}
|
||||
return render_template('settings.html', info=instanceInfo)
|
||||
|
||||
|
@ -79,7 +79,7 @@
|
||||
</div>-->
|
||||
|
||||
<!-- INSTANCE INFO -->
|
||||
<h1 class="ui header">Instance Info</h1>
|
||||
<h1 class="ui header">{{info.serverName}} Info</h1>
|
||||
<div class="ui segments">
|
||||
<div class="ui segment">
|
||||
<p><b>Total users:</b> {{info.totalUsers}}</p>
|
||||
|
@ -1,4 +1,5 @@
|
||||
{
|
||||
"serverName": "Yotter.xyz",
|
||||
"nitterInstance": "https://nitter.net/",
|
||||
"maxInstanceUsers": 10,
|
||||
"serverLocation": "Germany"
|
||||
|
Reference in New Issue
Block a user