forked from MarseyWorld/MarseyWorld
patronage text
parent
d0462a1cc1
commit
cac2ef3160
|
@ -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
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
|
@ -25,14 +25,10 @@
|
|||
<label for="patron-status">{{patron}} Status</label>
|
||||
</div>
|
||||
<div class="body w-lg-100">
|
||||
{% if v.patron %}
|
||||
<p>You're a {{patron}}!</p>
|
||||
{% else %}
|
||||
<p>You're a freeloader!</p>
|
||||
{% endif %}
|
||||
<p>You're a {{TIERS_ID_TO_NAME[v.patron] if v.patron else "freeloader"}}!</p>{% if v.patron %} Thanks ily! <3{% endif %}
|
||||
{% if not v.patron and v.truecoins >= TRUESCORE_DONATE_LIMIT %}
|
||||
<p class="font-italic">To stop freeloading, first <a href="/settings/security#new_email">verify your email</a>, support us on <a href="{{DONATE_LINK}}">{{DONATE_SERVICE}}</a> with the same email, and click "Claim {{patron}} Rewards"</p>
|
||||
{% else %}
|
||||
{% elif not v.patron %}
|
||||
<p class="font-italic">To stop freeloading, you can <a href="/donate">donate via crypto</a>. Please let us know first beforehand by <a href="/contact">sending us a modmail.</a> Thanks!</p>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue