aboutsummaryrefslogtreecommitdiffstats
path: root/templates/registration/base_client.html
diff options
context:
space:
mode:
authorAndrea Lepori <alepori@student.ethz.ch>2022-01-21 17:58:27 +0100
committerAndrea Lepori <alepori@student.ethz.ch>2022-01-21 17:58:46 +0100
commitf6f9daa8100fa59421692e2afbbc44f4d5753d66 (patch)
treeaa99c2a3f12e086a338df50f102e67d60b1ae679 /templates/registration/base_client.html
parenthide user from data request if not approved (diff)
downloadscout-subs-e433a624df538dcffacb4f46227b2dab3e5b5a55.tar.gz
scout-subs-e433a624df538dcffacb4f46227b2dab3e5b5a55.zip
edit terms + change log for new version0.5
Diffstat (limited to 'templates/registration/base_client.html')
-rw-r--r--templates/registration/base_client.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/templates/registration/base_client.html b/templates/registration/base_client.html
index 362238c..1827f4a 100644
--- a/templates/registration/base_client.html
+++ b/templates/registration/base_client.html
@@ -117,7 +117,9 @@
<li class="tooltipped hide-on-med-and-up" data-position="bottom" data-tooltip="Lista documenti" class="hide-on-med-and-up"><a class="modal-trigger" href="#modal_capi"><i class="material-icons">list</i></a></li>
{% endif %}
<li class="tooltipped" data-position="bottom" data-tooltip="Informazioni"><a href="{% url 'about' %}"><i class="material-icons">info_outline</i></a></li>
- <li class="tooltipped" data-position="bottom" data-tooltip="Logout"><a href="{% url 'logout' %}"><i class="material-icons">exit_to_app</i></a></li>
+ {% if user.is_authenticated %}
+ <li class="tooltipped" data-position="bottom" data-tooltip="Logout"><a href="{% url 'logout' %}"><i class="material-icons">exit_to_app</i></a></li>
+ {% endif %}
</ul>
</div>
{% block toolbar %}