aboutsummaryrefslogtreecommitdiffstats
path: root/templates/registration/base_admin.html
diff options
context:
space:
mode:
authorAndrea Lepori <alepori@student.ethz.ch>2022-04-27 21:56:26 +0200
committerAndrea Lepori <alepori@student.ethz.ch>2022-04-27 21:56:26 +0200
commitee8791a87bc42570689a74bdf5b4abec1d93344a (patch)
treee157e3baebb273f31416af9520f7db82a58a4885 /templates/registration/base_admin.html
parentmove all items in dropdown (diff)
downloadscout-subs-ee8791a87bc42570689a74bdf5b4abec1d93344a.tar.gz
scout-subs-ee8791a87bc42570689a74bdf5b4abec1d93344a.zip
multiuser logout support
Diffstat (limited to 'templates/registration/base_admin.html')
-rw-r--r--templates/registration/base_admin.html3
1 files changed, 1 insertions, 2 deletions
diff --git a/templates/registration/base_admin.html b/templates/registration/base_admin.html
index c24255b..edc3bae 100644
--- a/templates/registration/base_admin.html
+++ b/templates/registration/base_admin.html
@@ -95,7 +95,7 @@
<li><a class="modal-trigger" href="#modal_capi"><i class="material-icons">list</i>Lista documenti</a></li>
{% endif %}
- <li><a href="{% url 'logout' %}"><i class="material-icons">exit_to_app</i>Logout</a></li>
+ <li><a onclick="switcher_submit('logout')"><i class="material-icons">exit_to_app</i>Logout</a></li>
<li class="divider" tabindex="-1"></li>
<li class="divider" tabindex="-1"></li>
<li class="divider" tabindex="-1"></li>
@@ -105,7 +105,6 @@
<li><a onclick="switcher_submit('s{{username}}')">{{username}}</a></li>
{% endif %}
{% endfor %}
- <li class="divider" tabindex="-1"></li>
<li><a onclick="switcher_submit('new')"><i class="material-icons">person_add</i>Aggiungi un altro utente</a></li>
<li class="divider" tabindex="-1"></li>
<li class="divider" tabindex="-1"></li>