diff options
Diffstat (limited to 'templates/registration/base_admin.html')
-rw-r--r-- | templates/registration/base_admin.html | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/templates/registration/base_admin.html b/templates/registration/base_admin.html index 1f484e6..9643e35 100644 --- a/templates/registration/base_admin.html +++ b/templates/registration/base_admin.html @@ -87,6 +87,18 @@ <title>{% block title %}Scout Brega{% endblock %}</title> </head> <body> + {% if request.user.is_impersonate %} + <div class="navbar-fixed" style="height: 32px; line-height: 32px;"> + <nav style="height: 32px; line-height: 32px;"> + <div class="nav-wrapper"> + <p style="margin-top: 0px; margin-bottom: 0px; margin-left: 10px; margin-right: 10px;"> + Stai impersonando l'utente {{request.user}} + <a href="{% url 'impersonate-stop' %}" style="text-decoration: underline;">Chiudi impersonazione</a> + </p> + </div> + </nav> + </div> + {% endif %} <nav class="nav-extended"> <form id="su_change" method="post" action="{% url 'server'%}"> {% csrf_token %} |