Code layout change.
[wolnelektury.git] / src / funding / templates / funding / disable_notifications.html
1 {% extends "base.html" %}
2 {% load i18n %}
3 {% load fnp_share %}
4
5 {% block titleextra %}{% trans "Payment failed" %}{% endblock %}
6
7 {% block body %}
8
9 <h1>{% trans "Disable notifications" %}</h1>
10 <div class="white-box normal-text">
11
12 {% if view.object.notifications %}
13
14 <p>{% blocktrans with e=view.object.email %}Are you sure you want to disable notifications for address {{e}}?{% endblocktrans %}</p>
15 <form method="post" action="">
16     <button>{% trans "Disable notifications" %}</button>
17 </form>
18
19 {% else %}
20
21 <p>{% blocktrans with e=view.object.email %}Notifications for address {{e}} have been successfully disabled.{% endblocktrans %}</p>
22
23 {% endif %}
24
25 {% url 'funding_current' as current %}
26 <p>
27 {% blocktrans with current=current %}Return to the <a href="{{current}}">current fundraiser</a>.{% endblocktrans %}
28 </p>
29
30
31 </div>
32
33
34 {% endblock %}