mirror of
https://gitlab.crans.org/mediatek/med.git
synced 2025-06-21 07:18:22 +02:00
Remove custom add user view
This commit is contained in:
@ -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 %}
|
||||
|
Reference in New Issue
Block a user