aboutsummaryrefslogtreecommitdiffstats
path: root/templates/registration/base_client.html
diff options
context:
space:
mode:
authorAndrea Lepori <alepori@student.ethz.ch>2021-03-17 22:20:58 +0100
committerAndrea Lepori <alepori@student.ethz.ch>2021-03-17 22:21:23 +0100
commit19d120e045991226a07bbe3929bc3ed0db818790 (patch)
tree57b2d6fb5e724b4ef1d030586676d804b273a182 /templates/registration/base_client.html
parentadd rev to version and create document from non primary group (diff)
downloadscout-subs-19d120e045991226a07bbe3929bc3ed0db818790.tar.gz
scout-subs-19d120e045991226a07bbe3929bc3ed0db818790.zip
users of group capi can optionally view documents
Diffstat (limited to '')
-rw-r--r--templates/registration/base_client.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/templates/registration/base_client.html b/templates/registration/base_client.html
index fcef3b0..945ac99 100644
--- a/templates/registration/base_client.html
+++ b/templates/registration/base_client.html
@@ -86,6 +86,9 @@
{% endblock %}
<ul class="right">
{% if user.is_authenticated %}
+ {% if group_view %}
+ <li class="hide-on-small-only"><a href="{% url 'doclistro' %}">Lista documenti</a></li>
+ {% endif %}
{% if user.is_staff or perms.client.staff %}
<li class="hide-on-small-only"><a href="{% url 'server' %}">Pannello Admin</a></li>
{% endif %}
@@ -94,6 +97,9 @@
{% 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 %}
+ <li class="tooltipped hide-on-med-and-up" data-position="bottom" data-tooltip="Lista documenti" class="hide-on-med-and-up"><a href="{% url 'doclistro' %}"><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>
{% else %}