migrations for django-getpaid
[wolnelektury.git] / apps / funding / templates / funding / funding_detail.html
1 {% extends "base.html" %}
2 {% load i18n %}
3 {% load funding_tags %}
4 {% load fnp_share %}
5
6
7 {% block titleextra %}
8     {% if object.payed_at %}
9         {% trans "Thank you!" %}
10     {% else %}
11         {{ object }}
12     {% endif %}
13 {% endblock %}
14
15
16 {% block body %}
17
18
19 {% if object.payed_at %}
20
21 <h1>{% trans "Thank you!" %}</h1>
22 <div class="white-box normal-text">
23
24 {% trans "Thank you for your support!" %}
25
26
27
28 {% url 'funding_current' as current %}
29 <p><a href="{{ current }}">{% trans "Go back to the current fundraiser." %}</a></p>
30
31 {% url 'funding_current' as current %}
32 <p>{% share current 'y' %}</p>
33
34 </div>
35
36
37
38 {% else %}
39
40
41 <h1>{{ object }}</h1>
42
43 <div class="white-box normal-text">
44 <form action="{% url 'getpaid-new-payment' currency='PLN' %}" method="post">
45     {% csrf_token %}
46     {{ payment_form.as_p }}
47     <input type="submit" value="Continue">
48 </form>
49 </div>
50
51
52 {% endif %}
53 {% endblock %}