X-Git-Url: https://git.cyclocoop.org/?a=blobdiff_plain;f=templates%2Fvotes.html;fp=templates%2Fvotes.html;h=7b01e67d1bee58415f682f8a89332e34c00b376b;hb=61a11c1aae7ed1ded0116b2e1e1fe3323ab7db6b;hp=ddb3ce0aad756662cae24bd50ca07625d8662d34;hpb=6be75afe5c39782178ed1561f57596061797196e;p=cavote.git diff --git a/templates/votes.html b/templates/votes.html index ddb3ce0..7b01e67 100644 --- a/templates/votes.html +++ b/templates/votes.html @@ -10,20 +10,15 @@ 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 }}