X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=templates%2Fvote.html;h=8d6e9dd8ad231ad05d07ce7cb04631603fc97d03;hb=e3913800e8bccbdc364b7f54d28a8d8efcfa2e1b;hp=47b1d298c97532f446d0c6fd63685a92bc3d232b;hpb=9a0891ac3f5ae69cd1e276931401516b3213df4c;p=cavote.git diff --git a/templates/vote.html b/templates/vote.html index 47b1d29..8d6e9dd 100644 --- a/templates/vote.html +++ b/templates/vote.html @@ -3,7 +3,6 @@
- {% if not vote.is_transparent %}
Ce sondage n'est pas transparent, vous ne pouvez pas voir les votes des autres.
{% endif %} @@ -15,7 +14,9 @@ {% for choice in choices %} {{ choice.name }} {% endfor %} + {% if 'user' in 'session' %} + {% endif %} @@ -26,11 +27,13 @@ {% if 'user' in session and user.userid == session.user.id %}{% endif %} {{ user.username }} {% for choice in choices %} {% if choice.id in user.choices %} - OUI + {% else %} {% endif %} {% endfor %} - {% if 'user' in session and user.userid == session.user.id %}X{% endif %} + {% if 'user' in 'session' %} + {% if user.userid == session.user.id %}{% endif %} + {% endif %} {% endif %} {% endfor %} @@ -39,7 +42,7 @@
- {% if vote.is_multiple %} + {% if vote.is_multiplechoice %} {% for choice in choices %} {% endfor %} @@ -61,7 +64,9 @@ {% for choice in choices %} {{ choice.nb }} {% endfor %} + {% if 'user' in 'session' %} + {% endif %} {% endif %} @@ -70,11 +75,15 @@

Informations

+Avancement : {{ vote.nb_votes }} / {{ vote.max_votes }} +
+
+
Publié par
maethor
Début le
{{ vote.date_begin }}
Deadline le
{{ vote.date_end }} -
Groupe
{{ vote.rolename }} +
Groupe
{{ vote.groupname }}
Catégorie
{{ vote.category }}