X-Git-Url: https://git.cyclocoop.org/?a=blobdiff_plain;f=templates%2Fvotes.html;h=5f715619c2dd5d4dbddcc68cdc3ec851ec0af01c;hb=HEAD;hp=88ffee557fa647a617cf62795ae4b93f013389fe;hpb=df5ece768e1f6197ca618c89490563e0420fce9d;p=cavote.git diff --git a/templates/votes.html b/templates/votes.html index 88ffee5..5f71561 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 }}

+

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