forked from MarseyWorld/MarseyWorld
donate.html improvement
parent
d1c9badb7a
commit
b012d141e5
|
@ -426,8 +426,6 @@ def transfers(v):
|
|||
@limiter.limit(DEFAULT_RATELIMIT, deduct_when=lambda response: response.status_code < 400)
|
||||
@auth_desired
|
||||
def donate(v):
|
||||
if v and (v.shadowbanned or v.chud == 1 or v.is_permabanned):
|
||||
abort(404)
|
||||
return render_template(f'donate.html', v=v)
|
||||
|
||||
|
||||
|
|
|
@ -5,13 +5,11 @@
|
|||
<div class="overflow-x-auto">
|
||||
<table class="table table-striped mb-5">
|
||||
<tbody>
|
||||
{% if v and v.truescore >= TRUESCORE_MINIMUM %}
|
||||
{% 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 %}
|
||||
{% if DONATE_SERVICE != DEFAULT_CONFIG_VALUE and v and v.truescore >= TRUESCORE_MINIMUM and not v.shadowbanned and not v.is_permabanned and v.chud != 1 %}
|
||||
<tr>
|
||||
<td>{{DONATE_SERVICE}}</td>
|
||||
<td><a rel="nofollow noopener" href="{{DONATE_LINK}}">{{DONATE_LINK}}</a></td>
|
||||
</tr>
|
||||
{% endif %}
|
||||
<tr>
|
||||
<td>Ethereum/Brave Attention Token</td>
|
||||
|
|
Loading…
Reference in New Issue