aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorAndrea Lepori <alepori@student.ethz.ch>2021-08-19 10:42:10 +0200
committerAndrea Lepori <alepori@student.ethz.ch>2021-08-19 10:42:30 +0200
commit9fec5d58b2381a55731f0fae91a9a7fc473bbd44 (patch)
tree06769a15b26500a9ea4a5f9ef091093b130be643 /templates
parentfix group change and ucode parsing (diff)
downloadscout-subs-9fec5d58b2381a55731f0fae91a9a7fc473bbd44.tar.gz
scout-subs-9fec5d58b2381a55731f0fae91a9a7fc473bbd44.zip
RO documents for non primary groups
Diffstat (limited to '')
-rw-r--r--templates/registration/base_client.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/registration/base_client.html b/templates/registration/base_client.html
index edf4d2b..3e251a2 100644
--- a/templates/registration/base_client.html
+++ b/templates/registration/base_client.html
@@ -86,7 +86,7 @@
{% endblock %}
<ul class="right">
{% if user.is_authenticated %}
- {% if group_view and not user.is_staff %}
+ {% if group_view %}
<li class="hide-on-small-only"><a class="modal-trigger" href="#modal_capi">Lista documenti</a></li>
{% endif %}
{% if user.is_staff or perms.client.staff %}
@@ -97,7 +97,7 @@
{% if user.is_staff or perms.client.staff %}
<li class="tooltipped hide-on-med-and-up" data-position="bottom" data-tooltip="Pannello Admin" class="hide-on-med-and-up"><a href="{% url 'server' %}"><i class="material-icons">build</i></a></li>
{% endif %}
- {% if group_view and not user.is_staff %}
+ {% if group_view %}
<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>