forked from rDrama/rDrama
1
0
Fork 0

dedup and fix

master
Aevann 2023-10-10 12:41:00 +03:00
parent bd7dbe0be6
commit 67c8e0b849
1 changed files with 4 additions and 3 deletions

View File

@ -1,11 +1,12 @@
{% extends "default.html" %} {% extends "default.html" %}
{% block pagetitle %}Donate{% endblock %} {% block pagetitle %}Donate{% endblock %}
{% block content %} {% block content %}
{% set can_see = DONATE_LINK != DEFAULT_CONFIG_VALUE and v and v.can_see_countryclub and v.chud != 1 %}
<h1 class="py-3">Donate and get {{patron}} rewards</h1> <h1 class="py-3">Donate and get {{patron}} rewards</h1>
<div class="overflow-x-auto"> <div class="overflow-x-auto">
<table class="table table-striped mb-5"> <table class="table table-striped mb-5">
<tbody> <tbody>
{% if DONATE_LINK != DEFAULT_CONFIG_VALUE and v and v.can_see_countryclub and v.chud != 1 %} {% if can_see %}
<tr> <tr>
<td>{{DONATE_SERVICE}}</td> <td>{{DONATE_SERVICE}}</td>
<td><a rel="nofollow noopener" href="{{DONATE_LINK}}">{{DONATE_LINK}}</a></td> <td><a rel="nofollow noopener" href="{{DONATE_LINK}}">{{DONATE_LINK}}</a></td>
@ -30,13 +31,13 @@
</tr> </tr>
</tbody> </tbody>
</table> </table>
{% if v and v.truescore >= TRUESCORE_MINIMUM and DONATE_LINK != DEFAULT_CONFIG_VALUE %} {% if can_see %}
<li class="pl-2 pb-4"> <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! 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> </li>
{% endif %} {% endif %}
<li class="pl-2"> <li class="pl-2">
If you donate crypto, please let us know by <a href="/contact">sending us a modmail</a> so we can give you your {{patron}} rewards manually! If you donate{% if can_see %} crypto{% endif %}, please let us know by <a href="/contact">sending us a modmail</a> so we can give you your {{patron}} rewards manually!
</li> </li>
</div> </div>
{% endblock %} {% endblock %}