1
0
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:
Alexandre Iooss
2019-08-08 16:18:15 +02:00
parent ef0bd78af5
commit 8a1af4c2b3
15 changed files with 102 additions and 412 deletions

View File

@ -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 %}