1
0
mirror of https://gitlab.com/animath/si/plateforme-corres2math.git synced 2025-06-22 09:58:22 +02:00

Add impersonification

This commit is contained in:
Yohann D'ANELLO
2020-10-19 16:08:42 +02:00
parent d940acb226
commit 28e2fa10c3
3 changed files with 38 additions and 3 deletions

View File

@ -111,7 +111,7 @@
{% endif %}
{% if "_fake_user_id" in request.session %}
<li class="nav-item active">
<a class="nav-link" href="{% url "member:reset_admin" %}?path={{ request.path }}"><i class="fas fa-tools"></i> {% trans "Return to admin view" %}</a>
<a class="nav-link" href="{% url "registration:reset_admin" %}?path={{ request.path }}"><i class="fas fa-tools"></i> {% trans "Return to admin view" %}</a>
</li>
{% endif %}
{% if not user.is_authenticated %}