view 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
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>
<div class="form-group">
    {% for label, value in form.results %}
        <div>{{ label }}: {{ value }}</div>
    {% endfor %}
</div>

<div class="alert alert-info" role="alert">
{% if form.subscription_amount.value != "0" %}
	{% blocktrans with amount=form.subscription_amount.value method=form.payment_method|selected_label|lower %}
	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.
	{% endblocktrans %}
{% else %}
    {% blocktrans %}You should receive in a couple of minutes a confirmation email from us.{% endblocktrans %}
{% endif %}
</div>

{% endblock %}