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_client.html | |
parent | move all items in dropdown (diff) | |
download | scout-subs-ee8791a87bc42570689a74bdf5b4abec1d93344a.tar.gz scout-subs-ee8791a87bc42570689a74bdf5b4abec1d93344a.zip |
multiuser logout support
Diffstat (limited to 'templates/registration/base_client.html')
-rw-r--r-- | templates/registration/base_client.html | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/templates/registration/base_client.html b/templates/registration/base_client.html index c2483b8..c4e62b6 100644 --- a/templates/registration/base_client.html +++ b/templates/registration/base_client.html @@ -119,7 +119,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> @@ -129,7 +129,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> |