X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=templates%2Fvotes.html;h=616e3b33c1d59a25c7f5f25d3658022e951d6d35;hb=0a372d651f8cdb8ab5f0442060104caef8319f18;hp=e52b94b0317e4f522527ba8cd87e9d5f679f13a5;hpb=e3913800e8bccbdc364b7f54d28a8d8efcfa2e1b;p=cavote.git diff --git a/templates/votes.html b/templates/votes.html index e52b94b..616e3b3 100644 --- a/templates/votes.html +++ b/templates/votes.html @@ -6,10 +6,20 @@ Liste des votes {% for vote in votes %}
-
+

{{ vote.title }}

-
-
+
+
+ {% if vote.nb_votes == 0 %} +
+
{{ vote.nb_votes }} / {{ vote.max_votes }}
+
+ {% else %} +
+
{{ vote.nb_votes }} / {{ vote.max_votes }}
+
+ {% endif %} +
@@ -18,10 +28,12 @@ Liste des votes

Categorie : {{ vote.category }}

-

Notes

+ {% if vote.description %} +

Description

- {{ vote.description|safe }} + {{ vote.description }}

+ {% endif %}
{% else %}