X-Git-Url: http://git.cyclocoop.org/?p=cavote.git;a=blobdiff_plain;f=templates%2Fvote.html;fp=templates%2Fvote.html;h=5d1e4c62297d4c602580ccbaf66e1989625d261a;hp=d767473890ae5a260051f461a370bdfd7a7c0796;hb=f2c5f4be15b6225e5e7d9f3c53084424beb32f1b;hpb=7ce620993c1f5b89f67affe7619b385d39abed17 diff --git a/templates/vote.html b/templates/vote.html index d767473..5d1e4c6 100644 --- a/templates/vote.html +++ b/templates/vote.html @@ -120,12 +120,14 @@ - + {% for choice in choices %} {% endfor %} {% if 'user' in session and (can_vote or (not vote['is_terminated'] and not vote['is_anonymous'])) %} + {% else %} + {% endif %} {% if vote.is_transparent %} @@ -155,7 +157,8 @@ {% endfor %} - + {% endif %} @@ -171,7 +174,7 @@ {% endfor %} {% if 'user' in session and (can_vote or (not vote['is_terminated'] and not vote['is_anonymous'])) %} - + {% endif %} + {% if user.comment %}{{user.comment}}{%endif%} + + {% else %} + {% endif %} {% endif %} @@ -201,6 +210,18 @@ {% endif %} +{% if vote.is_anonymous %} +
+ +
Votant-e-s{{ choice.name }}Commentaires
+
{{ user.choices[choice.id].name }}{% if user.userid == session.user.id %} + {% if user.userid == session.user.id %} - {% endif %} + {% if user.comment %}{{user.comment}}{%endif%} +
+ + {% for user in users %} + + {% endfor %} + +
{% if user.comment %}{{user.comment}}{%endif%}
+{% endif %} + {% endblock %}