On déplace les dates dans la vue admin
This commit is contained in:
parent
665cd027fb
commit
5134b2cd28
1 changed files with 13 additions and 9 deletions
|
@ -10,15 +10,6 @@
|
|||
<div class="level-item">
|
||||
<h1 class="title">{{ election.name }}</h1>
|
||||
</div>
|
||||
|
||||
{# Dates d'ouverture de l'élection #}
|
||||
<div class="level-item">
|
||||
<span class="tag is-medium is-primary">{{ election.start_date|date:"d/m/Y H:i" }}</span>
|
||||
<span class="icon">
|
||||
<i class="fas fa-long-arrow-alt-right"></i>
|
||||
</span>
|
||||
<span class="tag is-medium is-primary">{{ election.end_date|date:"d/m/Y H:i" }}</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% if election.start_date > current_time or election.end_date < current_time %}
|
||||
|
@ -108,6 +99,19 @@
|
|||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
<div class="level">
|
||||
{# Dates d'ouverture de l'élection #}
|
||||
<div class="level-left">
|
||||
<div class="level-item">
|
||||
<span class="tag is-medium is-primary">{{ election.start_date|date:"d/m/Y H:i" }}</span>
|
||||
<span class="icon">
|
||||
<i class="fas fa-long-arrow-alt-right"></i>
|
||||
</span>
|
||||
<span class="tag is-medium is-primary">{{ election.end_date|date:"d/m/Y H:i" }}</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<hr>
|
||||
|
||||
{# Description de l'élection #}
|
||||
|
|
Loading…
Reference in a new issue