X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=templates%2Flayout.html;h=a73f0e614003fc6a53655b74a30cadc1fd24a8dd;hb=9a0891ac3f5ae69cd1e276931401516b3213df4c;hp=51341066bd746c15934e59957f5d4e558d3e457f;hpb=a488f7c479cda8017421a8e4f59012bd659fc5ca;p=cavote.git diff --git a/templates/layout.html b/templates/layout.html index 5134106..a73f0e6 100644 --- a/templates/layout.html +++ b/templates/layout.html @@ -8,6 +8,7 @@ --> + @@ -19,23 +20,29 @@
- Accueil - Votes en cours - Archives - {% if session.is_admin %} + Accueil + Votes en cours + Archives + {% if session.user and session.user.is_admin %} Admin {% endif %}
- {% if 'username' in session %} - {{ session.username }} + {% if 'user' in session %} + {{ session.user.name }} @@ -46,7 +53,7 @@
-

Outil de vote du CA FFDN

+

Outil de vote du CA FFDN {% block subtitle %}{% endblock %}

{% with messages = get_flashed_messages(with_categories="true") %} {% if messages %} {% for category, message in messages %} @@ -58,7 +65,9 @@ {% endif %} {% endwith %} +
{% block body %}{% endblock %} +