forked from rDrama/rDrama
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)
|
@limiter.limit(DEFAULT_RATELIMIT, deduct_when=lambda response: response.status_code < 400)
|
||||||
@auth_desired
|
@auth_desired
|
||||||
def donate(v):
|
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)
|
return render_template(f'donate.html', v=v)
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -5,13 +5,11 @@
|
||||||
<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 v and v.truescore >= TRUESCORE_MINIMUM %}
|
{% 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 %}
|
||||||
{% if DONATE_SERVICE != DEFAULT_CONFIG_VALUE %}
|
<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>
|
</tr>
|
||||||
</tr>
|
|
||||||
{% endif %}
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<tr>
|
<tr>
|
||||||
<td>Ethereum/Brave Attention Token</td>
|
<td>Ethereum/Brave Attention Token</td>
|
||||||
|
|
Loading…
Reference in New Issue