Now an user can’t reanude his donation, he needs to make a new one.
This commit is contained in:
parent
fe52e61668
commit
bad053e4de
1 changed files with 17 additions and 15 deletions
|
@ -19,21 +19,23 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{% if donator_status %}
|
{% if donator_status %}
|
||||||
<form action="{% url 'nosystemd:change_donator_status' donator_status.id %}" method="post" class="form" novalidate>
|
{% if donator_status.status == 'active'%}
|
||||||
{% csrf_token %}
|
<form action="{% url 'nosystemd:change_donator_status' donator_status.id %}" method="post" class="form" novalidate>
|
||||||
<div>
|
{% csrf_token %}
|
||||||
<h3>Your monthly donation status is {{donator_status.status}}
|
<div>
|
||||||
<button type="submit" class="btn btn-link">
|
<h3>Your monthly donation status is {{donator_status.status}}
|
||||||
{% if donator_status.status == 'active'%}
|
<button type="submit" class="btn btn-link">
|
||||||
{% trans "Cancel Donation"%}
|
{% trans "Cancel Donation"%}
|
||||||
{% else %}
|
</button>
|
||||||
{% trans "Reanude Donation"%}
|
</h3>
|
||||||
{% endif %}
|
</div>
|
||||||
|
</form>
|
||||||
|
{% else %}
|
||||||
|
<button type="submit" class="btn btn-link">
|
||||||
|
<a href="{% url 'nosystemd:make_donation' %}">{% trans "Donate"%}</a>
|
||||||
|
</button>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
</button>
|
|
||||||
</h3>
|
|
||||||
</div>
|
|
||||||
</form>
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue