forked from rDrama/rDrama
1
0
Fork 0

dont show blahblahblah donate service

master
Aevann 2023-09-14 22:37:35 +03:00
parent 29c797124a
commit 7cbe28a84f
3 changed files with 10 additions and 11 deletions

View File

@ -6,10 +6,12 @@
<table class="table table-striped mb-5">
<tbody>
{% if v and v.truescore >= TRUESCORE_DONATE_MINIMUM %}
<tr>
<td>{{DONATE_SERVICE}}</td>
<td><a rel="nofollow noopener" href="{{DONATE_LINK}}">{{DONATE_LINK}}</a></td>
</tr>
{% if DONATE_SERVICE != DEFAULT_CONFIG_VALUE %}
<tr>
<td>{{DONATE_SERVICE}}</td>
<td><a rel="nofollow noopener" href="{{DONATE_LINK}}">{{DONATE_LINK}}</a></td>
</tr>
{% endif %}
<tr>
<td>Merch</td>
<td><a rel="nofollow noopener" href="https://redbubble.com/people/rdramanet/explore?sortOrder=top%20selling">https://redbubble.com/people/rdramanet/explore?sortOrder=top%20selling</a></td>
@ -25,7 +27,7 @@
</tr>
</tbody>
</table>
{% if v and v.truescore >= TRUESCORE_DONATE_MINIMUM %}
{% if v and v.truescore >= TRUESCORE_DONATE_MINIMUM and DONATE_SERVICE != DEFAULT_CONFIG_VALUE %}
<li class="pl-2 pb-4">
If you donate via {{DONATE_SERVICE}}, please first <a href="/settings/security#site-settings-email-section">verify your email on the site</a>, and then use that same email on {{DONATE_SERVICE}} to get your <a rel="nofollow noopener" href="{{DONATE_LINK}}">{{patron}} rewards</a> automatically!
</li>

View File

@ -16,7 +16,7 @@
</div>
<div class="body w-lg-100">
<p>You're a {{TIER_TO_NAME[v.patron] if v.patron else "freeloader"}}!</p>{% if v.patron %} Thanks ily! &lt;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 %}
<p class="font-italic">To stop freeloading, first <a href="/settings/security#site-settings-email-section">verify your email</a>, support us on <a href="{{DONATE_LINK}}">{{DONATE_SERVICE}}</a> with the same email, and click "Claim {{patron}} Rewards"</p>
{% 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>

View File

@ -43,12 +43,9 @@
<input autocomplete="off" class="btn btn-primary ml-auto" type="submit" value="Add email">
{% endif %}
</div>
{% if FEATURES['MARSEYBUX'] %}
{% if v.truescore >= TRUESCORE_DONATE_MINIMUM and DONATE_SERVICE != DEFAULT_CONFIG_VALUE %}
<div class="text-small text-muted pl-1 pt-1 pt-sm-3">
Must be same email as the one you used to donate
{% if v.truescore >= TRUESCORE_DONATE_MINIMUM %}
on <a rel="nofollow noopener" class="text-primary no-visited" href="{{DONATE_LINK}}">{{DONATE_SERVICE}}</a>
{% endif %}
Must be same email as the one you used to donate on <a rel="nofollow noopener" class="text-primary no-visited" href="{{DONATE_LINK}}">{{DONATE_SERVICE}}</a>
</div>
{% endif %}
</div>