X-Git-Url: http://git.cyclocoop.org/?p=cavote.git;a=blobdiff_plain;f=templates%2Fvote.html;fp=templates%2Fvote.html;h=f86aaf9778a6deca1a4151a737945a91ac899a28;hp=5d1e4c62297d4c602580ccbaf66e1989625d261a;hb=d2ce3749c6a729861fac51c2f4e4dc32916f97bc;hpb=ea164cc2f337b06970a83a55af9b8a384bd34a7c diff --git a/templates/vote.html b/templates/vote.html index 5d1e4c6..f86aaf9 100644 --- a/templates/vote.html +++ b/templates/vote.html @@ -171,7 +171,11 @@ {% if 'user' in session and user.userid == session.user.id %}{% endif %} {{ user.username }} {% for choice in choices %} + {% if choice.id in user.choices %} {{ user.choices[choice.id].name }} + {% else %} + Choix postérieur au suffrage + {% endif %} {% endfor %} {% if 'user' in session and (can_vote or (not vote['is_terminated'] and not vote['is_anonymous'])) %} {% if user.userid == session.user.id %}