fix missing cancel link

master
alice 3 years ago
parent 7a23e29d8b
commit 949cc05b82

@ -38,6 +38,7 @@
<b>FAILING</b> since {{since}}. ({{backend}})<br /> <b>FAILING</b> since {{since}}. ({{backend}})<br />
Please cancel and subscribe again if you need to switch to another payment method. Please cancel and subscribe again if you need to switch to another payment method.
{% endblocktrans %} {% endblocktrans %}
(<a href="{% url 'payments:cancel_subscr' %}">{% trans "cancel" %}</a>)
{% elif subscription.status == 'active' %} {% elif subscription.status == 'active' %}
{% blocktrans trimmed with until=subscription.next_renew|default:user.vpnuser.expiration|date:'Y-m-d' backend=subscription.backend.backend_verbose_name %} {% blocktrans trimmed with until=subscription.next_renew|default:user.vpnuser.expiration|date:'Y-m-d' backend=subscription.backend.backend_verbose_name %}
<b>ACTIVE</b>. Renews on {{until}} via {{backend}}. <b>ACTIVE</b>. Renews on {{until}} via {{backend}}.

Loading…
Cancel
Save