X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=templates%2Flayout.html;h=6fe38aaec6c271b656ef3c542fbd80aaf3e2455b;hb=7f235db921ed9e01ae8c8057bc35f6796284808d;hp=29f0045776ab768dc44f763611e67fdd6c4fb438;hpb=09d46c3c1c476da11f48f953d257c9fc6e31b8cd;p=cavote.git diff --git a/templates/layout.html b/templates/layout.html index 29f0045..6fe38aa 100644 --- a/templates/layout.html +++ b/templates/layout.html @@ -8,6 +8,7 @@ --> + @@ -19,27 +20,29 @@ - Accueil - Votes en cours - Archives + Accueil + Votes en cours + Archives {% if session.user and session.user.is_admin %} Admin - Nouveau vote + Nouveau vote + Administrer les votes - Groupes - Nouvel utilisateur + Nouvel utilisateur + Administrer les utilisateurs + Administrer les groupes {% endif %} {% if 'user' in session %} - {{ session.user.name }} + {{ session.user.name }} - Votes en attente - Paramètres + Votes en attente + Paramètres Déconnexion @@ -50,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 %} @@ -62,7 +65,9 @@ {% endif %} {% endwith %} + {% block body %}{% endblock %} +