diff options
author | Andrea Lepori <alepori@student.ethz.ch> | 2022-04-27 21:56:26 +0200 |
---|---|---|
committer | Andrea Lepori <alepori@student.ethz.ch> | 2022-04-27 21:56:26 +0200 |
commit | ee8791a87bc42570689a74bdf5b4abec1d93344a (patch) | |
tree | e157e3baebb273f31416af9520f7db82a58a4885 /templates/registration/base_admin.html | |
parent | move all items in dropdown (diff) | |
download | scout-subs-ee8791a87bc42570689a74bdf5b4abec1d93344a.tar.gz scout-subs-ee8791a87bc42570689a74bdf5b4abec1d93344a.zip |
multiuser logout support
Diffstat (limited to '')
-rw-r--r-- | templates/registration/base_admin.html | 3 |
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> |