X-Git-Url: https://git.cyclocoop.org/?a=blobdiff_plain;f=templates%2Fadmin_votes.html;h=5b4669a0674c5304ac35bca0c9dd507075a46d3d;hb=HEAD;hp=605dc46ff1f3038c57cc67d2847d7d1420549533;hpb=1dfbd755dae26562b182d81f8818c5c3dcc6694b;p=cavote.git diff --git a/templates/admin_votes.html b/templates/admin_votes.html index 605dc46..5b4669a 100644 --- a/templates/admin_votes.html +++ b/templates/admin_votes.html @@ -2,7 +2,7 @@ {% block subtitle %}Administrer les votes{% endblock %} {% block body %}
-
+ + Nouveau vote {% if not votes %}
Il n'y a aucun vote.
{% else %} @@ -22,28 +22,47 @@ {% for vote in votes %} {{ vote.title }} - {% if vote.is_open %}Ouvert{% else %}Fermé{% endif %} - {{ vote.date_end }} + {% if vote.is_terminated %}Terminé{% else %}{% if vote.is_open %}Ouvert{% else %}Fermé{% endif %}{% endif %} + {{ vote.date_end }} {{ vote.groupname }} {{ vote.category }} {% if vote.is_transparent %}transparent{% endif %} + {% if vote.is_anonymous %}anonymous{% endif %} {% if vote.is_public %}public{% endif %} - {% if vote.is_multiplechoice %}choix multiple{% endif %} - Éditer + + Voir + Éditer + {% if can_delete_votes %}Supprimer{% endif %} + + {% endfor %} + + Nouveau vote

Légende :

{% endif %} +
{% endblock %}