X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=templates%2Fvote.html;h=e3ecbfcab75a8c267f67bbabbfddf1d348d522cc;hb=f4d357e37e0b186c35ff0958fdb0ffee5d17903e;hp=c7874209dd5904b57bae9efe353bf9e4da81d61b;hpb=f43f9263fc772dd9efcaeb62eff129d847ff9e86;p=cavote.git diff --git a/templates/vote.html b/templates/vote.html index c787420..e3ecbfc 100644 --- a/templates/vote.html +++ b/templates/vote.html @@ -2,7 +2,7 @@ {% block body %}
- + {% if not vote.is_transparent %}
Ce sondage n'est pas transparent, vous ne pouvez pas voir les votes des autres.
{% endif %} @@ -22,7 +22,7 @@ {% for user in users %} - {% if vote.is_transparent or user.userid == session.user.id %} + {% if vote.is_transparent or (session.user and user.userid == session.user.id )%} {% if 'user' in session and user.userid == session.user.id %}{% endif %} {{ user.username }} {% for choice in choices %} @@ -32,7 +32,22 @@ {% endif %} {% endfor %} {% if 'user' in session %} - {% if user.userid == session.user.id %}{% endif %} + {% if user.userid == session.user.id %} + + + {% endif %} {% endif %} {% endif %} @@ -85,21 +100,24 @@
{% endif %}
-
Publié par
maethor +
Publié par
{{ vote.author }}
Début le
{{ vote.date_begin }}
Deadline le
{{ vote.date_end }}
Groupe
{{ vote.groupname }}
Catégorie
{{ vote.category }}
+ {% if vote.description %}
Description :
{{ vote.description }} + {% endif %} + {% if attachments %}
Documents :
- + {% endif %}