mirror of
https://gitlab.crans.org/mediatek/med.git
synced 2025-06-21 01:18:21 +02:00
Simplify user profile
This commit is contained in:
@ -26,12 +26,12 @@ SPDX-License-Identifier: GPL-3.0-or-later
|
||||
{% endblock %}
|
||||
{% block userlinks %}
|
||||
{# Link to our apps outside of admin #}
|
||||
<a href="{% url "users:mon-profil" %}">{% trans 'My profile' %}</a> /
|
||||
<a href="{% url "users:profil" %}">{% trans 'My profile' %}</a> /
|
||||
<a href="{% url "media:index" %}">Media</a> /
|
||||
|
||||
{% if user.is_authenticated %}
|
||||
{% if is_perm %}
|
||||
<a href="{% url "users:index" %}">Utilisateurs</a> /
|
||||
<a href="{% url "users:new-user" %}">Nouveau utilisateur</a> /
|
||||
<a href="{% url "logs:index" %}">Statistiques</a> /
|
||||
{% endif %}
|
||||
|
||||
|
Reference in New Issue
Block a user