diff --git a/files/helpers/const.py b/files/helpers/const.py index 3aa78261bf..195f383b57 100644 --- a/files/helpers/const.py +++ b/files/helpers/const.py @@ -473,6 +473,15 @@ HOUSE_SWITCH_COST = 2000 DONATE_SERVICE = "Gumroad" if not KOFI_TOKEN or KOFI_TOKEN == 'blahblahblah' else "KoFi" DONATE_LINK = GUMROAD_LINK if not KOFI_TOKEN or KOFI_TOKEN == 'blahblahblah' else KOFI_LINK +TIERS_ID_TO_NAME = { + 1: "Paypig", + 2: "Renthog", + 3: "Landchad", + 4: "Terminally online turboautist", + 5: "JIDF Bankroller", + 6: "Rich Bich" +} + if SITE.startswith('rdrama.'): FEATURES['PRONOUNS'] = True FEATURES['HOUSES'] = True @@ -591,6 +600,15 @@ elif SITE == 'watchpeopledie.tv': GIFT_NOTIF_ID = CARP_ID SIGNUP_FOLLOW_ID = CARP_ID + TIERS_ID_TO_NAME = { + 1: "Victim", + 2: "Corpse", + 3: "Zombie", + 4: "Ghost", + 5: "Survivor", + 6: "Jigsaw" + } + else: # localhost or testing environment implied FEATURES['PRONOUNS'] = True FEATURES['HOUSES'] = True diff --git a/files/helpers/jinja2.py b/files/helpers/jinja2.py index 334382c77c..09599cb7d9 100644 --- a/files/helpers/jinja2.py +++ b/files/helpers/jinja2.py @@ -55,5 +55,6 @@ def inject_constants(): "TRUESCORE_DONATE_LIMIT":TRUESCORE_DONATE_LIMIT, "DONATE_LINK":DONATE_LINK, "DONATE_SERVICE":DONATE_SERVICE, "BAN_EVASION_DOMAIN":BAN_EVASION_DOMAIN, "HOUSE_JOIN_COST":HOUSE_JOIN_COST, "HOUSE_SWITCH_COST":HOUSE_SWITCH_COST, "IMAGE_FORMATS":IMAGE_FORMATS, - "PAGE_SIZES":PAGE_SIZES, "THEMES":THEMES, "COMMENT_SORTS":COMMENT_SORTS, "SORTS":SORTS, "TIME_FILTERS":TIME_FILTERS, "HOUSES":HOUSES + "PAGE_SIZES":PAGE_SIZES, "THEMES":THEMES, "COMMENT_SORTS":COMMENT_SORTS, "SORTS":SORTS, "TIME_FILTERS":TIME_FILTERS, "HOUSES":HOUSES, + "TIERS_ID_TO_NAME":TIERS_ID_TO_NAME } diff --git a/files/templates/settings_personal.html b/files/templates/settings_personal.html index bc364f42ec..6b4ae6870e 100644 --- a/files/templates/settings_personal.html +++ b/files/templates/settings_personal.html @@ -25,14 +25,10 @@
You're a {{patron}}!
- {% else %} -You're a freeloader!
- {% endif %} +You're a {{TIERS_ID_TO_NAME[v.patron] if v.patron else "freeloader"}}!
{% if v.patron %} Thanks ily! <3{% endif %} {% if not v.patron and v.truecoins >= TRUESCORE_DONATE_LIMIT %}To stop freeloading, first verify your email, support us on {{DONATE_SERVICE}} with the same email, and click "Claim {{patron}} Rewards"
- {% else %} + {% elif not v.patron %}To stop freeloading, you can donate via crypto. Please let us know first beforehand by sending us a modmail. Thanks!
{% endif %}