From 7cbe28a84fde8d759999726148855a295de2b389 Mon Sep 17 00:00:00 2001 From: Aevann Date: Thu, 14 Sep 2023 22:37:35 +0300 Subject: [PATCH] dont show blahblahblah donate service --- files/templates/donate.html | 12 +++++++----- files/templates/settings/personal.html | 2 +- files/templates/settings/security.html | 7 ++----- 3 files changed, 10 insertions(+), 11 deletions(-) diff --git a/files/templates/donate.html b/files/templates/donate.html index 45064ecc7..5954ef83a 100644 --- a/files/templates/donate.html +++ b/files/templates/donate.html @@ -6,10 +6,12 @@ {% if v and v.truescore >= TRUESCORE_DONATE_MINIMUM %} - - - - + {% if DONATE_SERVICE != DEFAULT_CONFIG_VALUE %} + + + + + {% endif %} @@ -25,7 +27,7 @@
{{DONATE_SERVICE}}{{DONATE_LINK}}
{{DONATE_SERVICE}}{{DONATE_LINK}}
Merch https://redbubble.com/people/rdramanet/explore?sortOrder=top%20selling
- {% if v and v.truescore >= TRUESCORE_DONATE_MINIMUM %} + {% if v and v.truescore >= TRUESCORE_DONATE_MINIMUM and DONATE_SERVICE != DEFAULT_CONFIG_VALUE %}
  • If you donate via {{DONATE_SERVICE}}, please first verify your email on the site, and then use that same email on {{DONATE_SERVICE}} to get your {{patron}} rewards automatically!
  • diff --git a/files/templates/settings/personal.html b/files/templates/settings/personal.html index 0554b0f8b..da971ff9b 100644 --- a/files/templates/settings/personal.html +++ b/files/templates/settings/personal.html @@ -16,7 +16,7 @@

    You're a {{TIER_TO_NAME[v.patron] if v.patron else "freeloader"}}!

    {% if v.patron %} Thanks ily! <3{% endif %} - {% if not v.patron and v.truescore >= TRUESCORE_DONATE_MINIMUM %} + {% if not v.patron and v.truescore >= TRUESCORE_DONATE_MINIMUM and DONATE_SERVICE != DEFAULT_CONFIG_VALUE %}

    To stop freeloading, first verify your email, support us on {{DONATE_SERVICE}} with the same email, and click "Claim {{patron}} Rewards"

    {% elif not v.patron %}

    To stop freeloading, you can donate via crypto. Please let us know first beforehand by sending us a modmail. Thanks!

    diff --git a/files/templates/settings/security.html b/files/templates/settings/security.html index 01daa5085..23f0f16bd 100644 --- a/files/templates/settings/security.html +++ b/files/templates/settings/security.html @@ -43,12 +43,9 @@ {% endif %}
    - {% if FEATURES['MARSEYBUX'] %} + {% if v.truescore >= TRUESCORE_DONATE_MINIMUM and DONATE_SERVICE != DEFAULT_CONFIG_VALUE %}
    - Must be same email as the one you used to donate - {% if v.truescore >= TRUESCORE_DONATE_MINIMUM %} - on {{DONATE_SERVICE}} - {% endif %} + Must be same email as the one you used to donate on {{DONATE_SERVICE}}
    {% endif %}