From 836f50aaad5f9d0ff1280e7a79f97f1fe5305cf1 Mon Sep 17 00:00:00 2001 From: pluja Date: Sat, 26 Sep 2020 14:40:30 +0200 Subject: [PATCH] Adds donation link to the instance Check yotter-config.json --- app/templates/settings.html | 7 ++++++- yotter-config.json | 5 +++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/app/templates/settings.html b/app/templates/settings.html index c5a78ec..e5cf42d 100644 --- a/app/templates/settings.html +++ b/app/templates/settings.html @@ -101,8 +101,13 @@

Server location: {{config.serverLocation}}

+ {% if config.donate_url %}
-

Consider making a donation

+

Consider making a donation to the instance

+
+ {% endif %} +
+

Donate to the Yotter developer

diff --git a/yotter-config.json b/yotter-config.json index 717e9d1..e0ceeab 100644 --- a/yotter-config.json +++ b/yotter-config.json @@ -1,7 +1,7 @@ { "serverName": "yotter.xyz", "nitterInstance": "https://nitter.net/", - "maxInstanceUsers": 60, + "maxInstanceUsers": 100, "serverLocation": "Germany", "restrictPublicUsage":true, "nginxVideoStream":true, @@ -10,5 +10,6 @@ "admin_message_title":"Message from the admin", "admin_message":"Message from the admin text", "admin_user":"admin_username", - "max_old_user_days": 60 + "max_old_user_days": 60, + "donate_url": "" }