aboutsummaryrefslogtreecommitdiffstats
path: root/templates/registration
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--templates/registration/base_client.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/registration/base_client.html b/templates/registration/base_client.html
index 09e7dd0..b4781ce 100644
--- a/templates/registration/base_client.html
+++ b/templates/registration/base_client.html
@@ -110,6 +110,8 @@
{% endblock %}
<ul class="right">
{% if user.is_staff or perms.client.staff %}
+ <li class="userswitcher" data-target='userswitcher'><a href="#">{{ user.username }}<i class="right material-icons">shield</i></a></li>
+ {% elif "capi" in user|user_groups%}
<li class="userswitcher" data-target='userswitcher'><a href="#">{{ user.username }}<i class="right material-icons">supervisor_account</i></a></li>
{% else %}
<li class="userswitcher" data-target='userswitcher'><a href="#">{{ user.username }}</a></li>