comparison templates/sat_website/thank_you.html @ 34:9d553570cc61

add adhesion_form.html and thank_you.html
author souliane <souliane@mailoo.org>
date Tue, 27 Jan 2015 08:20:30 +0100
parents
children 1a0f24401866
comparison
equal deleted inserted replaced
33:73c6333fd124 34:9d553570cc61
1 {% extends "sat_website/category.html" %}
2
3 {% comment %}
4 SàT website: Salut à Toi's presentation website
5 Copyright (C) 2012 Jérôme Poisson (goffi@goffi.org)
6
7 This file is part of SàT website.
8
9 SàT website is free software: you can redistribute it and/or modify
10 it under the terms of the GNU Affero General Public License as published by
11 the Free Software Foundation, either version 3 of the License, or
12 (at your option) any later version.
13
14 Foobar is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 GNU Affero General Public License for more details.
18
19 You should have received a copy of the GNU Affero General Public License
20 along with Foobar. If not, see <http://www.gnu.org/licenses/>.
21 {% endcomment %}
22
23 {% load i18n %}
24 {% load staticfiles %}
25 {% load utils %}
26
27 {% block headline %}{% trans "Thank you!" %}{% endblock %}
28 {% block main_container %}
29
30 <p>{% trans "Your subscription has been registered." %}</p>
31 {% for section, fields in form.sections.items %}
32 <div class="form-group">
33 {% for field in fields %}
34 {% if field.name == "payment_method" %}
35 {% if form.subscription_amount.value != "0" %}
36 <div>{{ field.label }}: {{ field|selected_label }}</div>
37 {% endif %}
38 {% elif field.name == "subscription_amount" %}
39 <div>{{ field.label }}: {{ field.value }} €</div>
40 {% elif field.name != "email_confirmation" and field.value %}
41 <div>{{ field.label }}: {{ field.value }}</div>
42 {% endif %}
43 {% endfor %}
44 </div>
45 {% endfor %}
46 </fieldset>
47 </form>
48
49 {% if form.subscription_amount.value != "0" %}
50 <div class="alert alert-info" role="alert">{% blocktrans with amount=form.subscription_amount.value method=form.payment_method|selected_label %}
51 You chose to pay your annual subscription of {{ amount }} € via {{ method }}. You will receive during the next hours/days an email containing all the details (it is not automatised yet).
52 {% endblocktrans %}
53 </div>
54
55 {% endif %}
56 {% endblock %}