comparison 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
comparison
equal deleted inserted replaced
70:d6bf5414c6c4 71:a14845624e01
18 along with Foobar. If not, see <http://www.gnu.org/licenses/>. 18 along with Foobar. If not, see <http://www.gnu.org/licenses/>.
19 {% endcomment %} 19 {% endcomment %}
20 20
21 {% load i18n %} 21 {% load i18n %}
22 22
23 {% if obj == "members" %}
24
23 <div class="progress"> 25 <div class="progress">
24 <div class="progress-bar progress-bar-success progress-bar-striped" style="width: {{ asso_members_perc }}%">{% blocktrans with members_actual=asso_members_actual %}{{members_actual}} members{% endblocktrans %}</div> 26 <div class="progress-bar progress-bar-info progress-bar-striped" style="width: {{ asso_members_perc }}%">
25 <div class="progress-bar progress-bar-left progress-bar-striped active" style="width: {{ asso_members_perc_left }}%">{% blocktrans with members_left=asso_members_left %}{{members_left}} left{% endblocktrans %}</div> 27 {% blocktrans with actual=asso_members_actual %}{{ actual }} members{% endblocktrans %}
28 </div>
29 <div class="progress-bar progress-bar-left progress-bar-striped active" style="width: {{ asso_members_perc_left }}%">
30 {% blocktrans with left=asso_members_left %}{{ left }} members left{% endblocktrans %}
31 </div>
26 </div> 32 </div>
33
34 {% else %}
35
36 <div class="progress">
37 <div class="progress-bar progress-bar-success progress-bar-striped" style="width: {{ asso_finance_perc }}%">
38 {% blocktrans with actual=asso_finance_actual %}{{ actual }} €{% endblocktrans %}
39 </div>
40 <div class="progress-bar progress-bar-left progress-bar-striped active" style="width: {{ asso_finance_perc_left }}%">
41 {% blocktrans with left=asso_finance_left %}{{ left }} € left{% endblocktrans %}
42 </div>
43 </div>
44
45 {% endif %}