aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrea Lepori <alepori@student.ethz.ch>2022-05-02 20:38:45 +0200
committerAndrea Lepori <alepori@student.ethz.ch>2022-05-02 20:38:52 +0200
commit9f6d6e7fd14d7987315ca2551cd4e4a4d3c5654a (patch)
treea57754005eb2b159825a83d735f57292964903a2
parentfix user switcher on admin side (diff)
downloadscout-subs-9f6d6e7fd14d7987315ca2551cd4e4a4d3c5654a.tar.gz
scout-subs-9f6d6e7fd14d7987315ca2551cd4e4a4d3c5654a.zip
change invalid icon
-rw-r--r--templates/registration/base_admin.html4
-rw-r--r--templates/registration/base_client.html4
-rw-r--r--version.txt2
3 files changed, 5 insertions, 5 deletions
diff --git a/templates/registration/base_admin.html b/templates/registration/base_admin.html
index e3e1e61..ad07775 100644
--- a/templates/registration/base_admin.html
+++ b/templates/registration/base_admin.html
@@ -89,7 +89,7 @@
{% 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>
+ <li class="userswitcher" data-target='userswitcher'><a href="#">{{ user.username }}<i class="right material-icons">security</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 %}
@@ -157,4 +157,4 @@
</html>
{% endwith %}
{% endwith %}
-{% endwith %} \ No newline at end of file
+{% endwith %}
diff --git a/templates/registration/base_client.html b/templates/registration/base_client.html
index b4781ce..ea2eb6a 100644
--- a/templates/registration/base_client.html
+++ b/templates/registration/base_client.html
@@ -110,7 +110,7 @@
{% 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>
+ <li class="userswitcher" data-target='userswitcher'><a href="#">{{ user.username }}<i class="right material-icons">security</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 %}
@@ -178,4 +178,4 @@
</html>
{% endwith %}
{% endwith %}
-{% endwith %} \ No newline at end of file
+{% endwith %}
diff --git a/version.txt b/version.txt
index f36e0a9..66c053f 100644
--- a/version.txt
+++ b/version.txt
@@ -1,2 +1,2 @@
version=0.5
-rev=15
+rev=16