X-Git-Url: https://git.cyclocoop.org/?a=blobdiff_plain;f=templates%2Fvotes.html;h=5f715619c2dd5d4dbddcc68cdc3ec851ec0af01c;hb=HEAD;hp=ef54cbb7e8b56bdad42a0ad2fc7260cc4e77bdc3;hpb=f43f9263fc772dd9efcaeb62eff129d847ff9e86;p=cavote.git diff --git a/templates/votes.html b/templates/votes.html index ef54cbb..5f71561 100644 --- a/templates/votes.html +++ b/templates/votes.html @@ -10,31 +10,28 @@ Liste des votes

{{ vote.title }}

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

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