dépôts
/
cavote.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Users can see waiting votes, votes can be terminated
[cavote.git]
/
templates
/
admin_votes.html
diff --git
a/templates/admin_votes.html
b/templates/admin_votes.html
index
786cec3
..
e3faf72
100644
(file)
--- a/
templates/admin_votes.html
+++ b/
templates/admin_votes.html
@@
-22,7
+22,7
@@
{% for vote in votes %}
<tr>
<td>{{ vote.title }}</td>
{% for vote in votes %}
<tr>
<td>{{ vote.title }}</td>
- <td>{% if vote.is_
open %}<span class="label label-success">Ouvert</span>{% else %}<span class="label label-important">Fermé</span>
{% endif %}</td>
+ <td>{% if vote.is_
terminated %}<span class="label label-sucess">Terminé</span>{% else %}{% if vote.is_open %}<span class="label label-info">Ouvert</span>{% else %}<span class="label label-important">Fermé</span>{% endif %}
{% endif %}</td>
<td>{{ vote.date_end }}</td>
<td>{{ vote.groupname }}</td>
<td>{{ vote.category }}</td>
<td>{{ vote.date_end }}</td>
<td>{{ vote.groupname }}</td>
<td>{{ vote.category }}</td>