aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--templates/registration/base_client.html2
-rw-r--r--version.txt2
2 files changed, 3 insertions, 1 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>
diff --git a/version.txt b/version.txt
index 6b1314e..95245cf 100644
--- a/version.txt
+++ b/version.txt
@@ -1,2 +1,2 @@
version=0.5
-rev=13
+rev=14