mirror of
https://github.com/ae-utbm/sith.git
synced 2026-11-07 01:39:32 +00:00
reorder user tools
This commit is contained in:
1 parent
d1649ddb49
commit
20f1e08b93
3 files changed
+49
-54
No files matched your search
@@ -5,24 +5,13 @@
|
||||
{%- trans %}Election list{% endtrans %}
|
||||
{%- endblock %}
|
||||
|
||||
{% block head %}
|
||||
{{ super() -}}
|
||||
<style>
|
||||
small {
|
||||
font-size: smaller;
|
||||
}
|
||||
|
||||
time {
|
||||
font-weight: bolder;
|
||||
}
|
||||
</style>
|
||||
{%- endblock %}
|
||||
|
||||
{% block content %}
|
||||
<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>
|
||||
{% if user.has_perm("election.add_election") %}
|
||||
<a class="btn btn-blue" href="{{ url("election:create") }}">
|
||||
<i class="fa fa-plus"></i>{% trans %}New election{% endtrans %}
|
||||
</a>
|
||||
{% endif %}
|
||||
{%- for election in object_list %}
|
||||
<hr>
|
||||
<section>
|
||||
|
||||
Reference in new issue
Block a user