resultat vote

This commit is contained in:
2025-09-04 21:18:22 +02:00
parent 48781d086e
commit 21230d6ca5
6 changed files with 143 additions and 2 deletions

View File

@ -51,7 +51,29 @@
</div>
<div class='card-body'>
{{project.summary|nl2br}}
{% if project.status=="Voté" or project.status=="Archivé" %}
<small>
<hr>
<div class="row">
<div class="col-xs-6">
{% for option in project.options %}
{{ option.title|title }} = {{ option.nbVote }}<br>
{% endfor %}
</div>
<div class="col-xs-6">
Votes Blancs = {{ project.nbVoteWhite }}<br>
Votes Nuls = {{ project.nbVoteNull }}
</div>
</div>
<hr>
<strong>Résultat = </strong><br>
{{ project.resultVote|nl2br }}
</small>
{% endif %}
</div>
<div class='card-footer' style="line-height:14px">
<small><em>
{% if project.dueDate %}