mirror of
https://github.com/ae-utbm/sith.git
synced 2026-06-04 23:29:24 +00:00
button to create new elections
This commit is contained in:
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
{% block head %}
|
{% block head %}
|
||||||
{{ super() -}}
|
{{ super() -}}
|
||||||
<style type="text/css">
|
<style>
|
||||||
small {
|
small {
|
||||||
font-size: smaller;
|
font-size: smaller;
|
||||||
}
|
}
|
||||||
@@ -20,6 +20,9 @@
|
|||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<h3>{% trans %}Current elections{% endtrans %}</h3>
|
<h3>{% trans %}Current elections{% endtrans %}</h3>
|
||||||
|
<a class="btn btn-blue" href="{{ url("election:create") }}">
|
||||||
|
<i class="fa fa-plus"></i>{% trans %}New election{% endtrans %}
|
||||||
|
</a>
|
||||||
{%- for election in object_list %}
|
{%- for election in object_list %}
|
||||||
<hr>
|
<hr>
|
||||||
<section>
|
<section>
|
||||||
@@ -32,7 +35,7 @@
|
|||||||
{% trans %} at {% endtrans %}<time>{{ election.start_candidature|localtime|time(DATETIME_FORMAT) }}</time>
|
{% trans %} at {% endtrans %}<time>{{ election.start_candidature|localtime|time(DATETIME_FORMAT) }}</time>
|
||||||
{% trans %}to{% endtrans %}
|
{% trans %}to{% endtrans %}
|
||||||
<time datetime="{{ election.end_candidature }}">{{ election.end_candidature|localtime|date(DATETIME_FORMAT) }}</time>
|
<time datetime="{{ election.end_candidature }}">{{ election.end_candidature|localtime|date(DATETIME_FORMAT) }}</time>
|
||||||
{% trans %} at {% endtrans %}<time>{{ election.end_candidature|time(DATETIME_FORMAT) }}</time>
|
{% trans %} at {% endtrans %}<time>{{ election.end_candidature|localtime|time(DATETIME_FORMAT) }}</time>
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
{% trans %}Polls open from{% endtrans %}
|
{% trans %}Polls open from{% endtrans %}
|
||||||
|
|||||||
Reference in New Issue
Block a user