X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=templates%2Fvotes.html;h=7b01e67d1bee58415f682f8a89332e34c00b376b;hb=61a11c1aae7ed1ded0116b2e1e1fe3323ab7db6b;hp=55ab248eab4a91a940f30a14daf775aa8661454f;hpb=1dfbd755dae26562b182d81f8818c5c3dcc6694b;p=cavote.git diff --git a/templates/votes.html b/templates/votes.html index 55ab248..7b01e67 100644 --- a/templates/votes.html +++ b/templates/votes.html @@ -4,27 +4,34 @@ Liste des votes {% endblock %} {% block body %} {% 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 }}

-

Groupe : {{ vote.group }}

+

É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 %}