-
-
+
{% 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 %}
@@ -30,7 +31,9 @@
{% else %}
| {% endif %}
{% endfor %}
-
{% if 'user' in session and user.userid == session.user.id %}{% endif %} |
+ {% if 'user' in session %}
+
{% if user.userid == session.user.id %}{% endif %} |
+ {% endif %}
{% endif %}
{% endfor %}
@@ -41,11 +44,11 @@
|
{% if vote.is_multiplechoice %}
{% for choice in choices %}
-
|
+
|
{% endfor %}
{% else %}
{% for choice in choices %}
-
|
+
|
{% endfor %}
{% endif %}
|
@@ -61,7 +64,9 @@
{% for choice in choices %}
{{ choice.nb }} |
{% endfor %}
+ {% if 'user' in session %}
|
+ {% endif %}
{% endif %}
@@ -70,6 +75,15 @@
Informations
+{% if vote.nb_votes == 0 %}
+
+
{{ vote.nb_votes }} / {{ vote.max_votes }}
+
+{% else %}
+
+
{{ vote.nb_votes }} / {{ vote.max_votes }}
+
+{% endif %}
- Publié par
maethor
- Début le
{{ vote.date_begin }}
@@ -78,14 +92,17 @@
- Catégorie
{{ vote.category }}
+ {% if vote.description %}
- Description :
- {{ vote.description }}
+ {% endif %}
+ {% if attachments %}
- Documents :
-
-
+ {% endif %}