Mercurial > sat_legacy_website
view templates/sat_website/finance.html @ 71:a14845624e01
display a banner on top of all pages (but adhesion, adhesion_form and thank_you) to encourage people joining the association
author | souliane <souliane@mailoo.org> |
---|---|
date | Wed, 27 May 2015 18:56:16 +0200 |
parents | 73c6333fd124 |
children |
line wrap: on
line source
{% 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 %} {% if obj == "members" %} <div class="progress"> <div class="progress-bar progress-bar-info progress-bar-striped" style="width: {{ asso_members_perc }}%"> {% blocktrans with actual=asso_members_actual %}{{ actual }} members{% endblocktrans %} </div> <div class="progress-bar progress-bar-left progress-bar-striped active" style="width: {{ asso_members_perc_left }}%"> {% blocktrans with left=asso_members_left %}{{ left }} members left{% endblocktrans %} </div> </div> {% else %} <div class="progress"> <div class="progress-bar progress-bar-success progress-bar-striped" style="width: {{ asso_finance_perc }}%"> {% blocktrans with actual=asso_finance_actual %}{{ actual }} €{% endblocktrans %} </div> <div class="progress-bar progress-bar-left progress-bar-striped active" style="width: {{ asso_finance_perc_left }}%"> {% blocktrans with left=asso_finance_left %}{{ left }} € left{% endblocktrans %} </div> </div> {% endif %}