feat(home): Add a link to the admin panel
This commit is contained in:
parent
5ec6a482cc
commit
01597ffb7b
1 changed files with 1 additions and 0 deletions
|
@ -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 %}
|
||||
|
|
Loading…
Add table
Reference in a new issue