view templates/sat_website/finance.html @ 105:7fe36f064486

fixes typo in French social contract (from Jean-Marc, Tiki)
author souliane <souliane@mailoo.org>
date Sat, 17 Oct 2015 13:03:01 +0200
parents a14845624e01
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 %}