feat(home): Add a link to the admin panel

This commit is contained in:
Tom Hubrecht 2024-09-21 23:01:59 +02:00
parent 5ec6a482cc
commit 01597ffb7b
Signed by: thubrecht
SSH key fingerprint: SHA256:r+nK/SIcWlJ0zFZJGHtlAoRwq1Rm+WcKAm5ADYMoQPc

View file

@ -7,5 +7,6 @@
{% endif %}
{% if user.is_admin %}
<a class="button is-fullwidth is-size-4 is-danger has-text-dark block" href="{% url 'dgsi:dgn-create_user' %}">{% trans "Créer un nouveau compte" %}</a>
<a class="button is-fullwidth is-size-4 is-warning has-text-dark block" href="{% url 'admin:index' %}">{% trans "Interface admin" %}</a>
{% endif %}
{% endblock content %}