On déplace les dates dans la vue admin

This commit is contained in:
Tom Hubrecht 2021-04-09 13:32:22 +02:00
parent 665cd027fb
commit 5134b2cd28

View file

@ -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 #}