1
0
mirror of https://gitlab.crans.org/mediatek/med.git synced 2025-06-21 14:38:22 +02:00

Remove custom add user view

This commit is contained in:
Alexandre Iooss
2019-08-09 22:52:47 +02:00
parent de9650d33a
commit d1806fd727
6 changed files with 29 additions and 38 deletions

View File

@ -26,13 +26,6 @@ SPDX-License-Identifier: GPL-3.0-or-later
{% endblock %}
{% block userlinks %}
{% if user.is_authenticated %}
{% if perms.users.add_user %}
<a href="{% url "users:new-user" %}">Nouveau utilisateur</a> /
{% endif %}
{% if user.is_staff %}
<a href="{% url "logs:index" %}">Statistiques</a> /
{% endif %}
{% if available_apps %}
{# When in admin site, list all admin pages and documentation #}
<span class="dropdown">
@ -45,6 +38,7 @@ SPDX-License-Identifier: GPL-3.0-or-later
{% endif %}
{% endfor %}
{% endfor %}
<a href="{% url "logs:index" %}">Statistiques</a>
{% if user.is_active and user.is_superuser %}
{% url 'django-admindocs-docroot' as docsroot %}
{% if docsroot %}