X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=templates%2Fvotes.html;h=7b01e67d1bee58415f682f8a89332e34c00b376b;hb=61a11c1aae7ed1ded0116b2e1e1fe3323ab7db6b;hp=e52b94b0317e4f522527ba8cd87e9d5f679f13a5;hpb=e3913800e8bccbdc364b7f54d28a8d8efcfa2e1b;p=cavote.git diff --git a/templates/votes.html b/templates/votes.html index e52b94b..7b01e67 100644 --- a/templates/votes.html +++ b/templates/votes.html @@ -6,25 +6,32 @@ Liste des votes {% for vote in votes %}
-
+

{{ vote.title }}

-
-
+
+
+
+
+ {{ vote.nb_votes }} vote{{ 's' if vote.nb_votes > 1 else '' }} / {{ vote.max_votes }} ({{ vote.percent }}%)
+
+
-

Deadline : {{ vote.date_end }}

+

Échéance : {{ vote.date_end }}

Groupe : {{ vote.groupname }}

Categorie : {{ vote.category }}

-

Notes

+ {% if vote.description %} +

Description

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

+ {% endif %}
{% else %} -
Il n'y a pas encore de votes. Désolé.
+
Il n'y a pas encore de vote. Désolé.
{% endfor %} {% endblock %}