comparison templates/sat_website/thank_you.html @ 41:1a0f24401866

send adhesion form results via email to the admins and the new member
author souliane <souliane@mailoo.org>
date Tue, 03 Feb 2015 15:15:59 +0100
parents 9d553570cc61
children bfa8009f0769
comparison
equal deleted inserted replaced
40:dfe7139dae0a 41:1a0f24401866
26 26
27 {% block headline %}{% trans "Thank you!" %}{% endblock %} 27 {% block headline %}{% trans "Thank you!" %}{% endblock %}
28 {% block main_container %} 28 {% block main_container %}
29 29
30 <p>{% trans "Your subscription has been registered." %}</p> 30 <p>{% trans "Your subscription has been registered." %}</p>
31 {% for section, fields in form.sections.items %} 31 <div class="form-group">
32 <div class="form-group"> 32 {% for label, value in form.results %}
33 {% for field in fields %} 33 <div>{{ label }}: {{ value }}</div>
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 %} 34 {% 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> 35 </div>
54 36
37 <div class="alert alert-info" role="alert">
38 {% if form.subscription_amount.value != "0" %}
39 {% blocktrans with amount=form.subscription_amount.value method=form.payment_method|selected_label|lower %}
40 You chose to pay your annual subscription of {{ amount }} € via {{ method }}.<br/>You should receive in a couple of minutes an email from us containing all the details to proceed with the payment.
41 {% endblocktrans %}
42 {% else %}
43 {% blocktrans %}You should receive in a couple of minutes a confirmation email from us.{% endblocktrans %}
55 {% endif %} 44 {% endif %}
45 </div>
46
56 {% endblock %} 47 {% endblock %}