Mercurial > sat_legacy_website
view templates/sat_website/thank_you.html @ 35:10ce34ab389a
dummy patch (just add some new lines to make space between the blocks)
author | souliane <souliane@mailoo.org> |
---|---|
date | Tue, 27 Jan 2015 08:16:27 +0100 |
parents | 9d553570cc61 |
children | 1a0f24401866 |
line wrap: on
line source
{% extends "sat_website/category.html" %} {% comment %} SàT website: Salut à Toi's presentation website Copyright (C) 2012 Jérôme Poisson (goffi@goffi.org) This file is part of SàT website. SàT website is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. Foobar is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details. You should have received a copy of the GNU Affero General Public License along with Foobar. If not, see <http://www.gnu.org/licenses/>. {% endcomment %} {% load i18n %} {% load staticfiles %} {% load utils %} {% block headline %}{% trans "Thank you!" %}{% endblock %} {% block main_container %} <p>{% trans "Your subscription has been registered." %}</p> {% for section, fields in form.sections.items %} <div class="form-group"> {% for field in fields %} {% if field.name == "payment_method" %} {% if form.subscription_amount.value != "0" %} <div>{{ field.label }}: {{ field|selected_label }}</div> {% endif %} {% elif field.name == "subscription_amount" %} <div>{{ field.label }}: {{ field.value }} €</div> {% elif field.name != "email_confirmation" and field.value %} <div>{{ field.label }}: {{ field.value }}</div> {% endif %} {% endfor %} </div> {% endfor %} </fieldset> </form> {% if form.subscription_amount.value != "0" %} <div class="alert alert-info" role="alert">{% blocktrans with amount=form.subscription_amount.value method=form.payment_method|selected_label %} 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). {% endblocktrans %} </div> {% endif %} {% endblock %}