diff options
author | 2018-01-05 18:07:15 -0800 | |
---|---|---|
committer | 2018-01-05 18:07:15 -0800 | |
commit | a52359fedb82606f2230fe6f85326b08d009a0d2 (patch) | |
tree | 333e03f66b292f09ddb789f7f717771624b76203 /template/html | |
parent | 19494742ffe30f72d66f607410a2185c60a11df2 (diff) |
Do not display users links on sessions page
Diffstat (limited to 'template/html')
-rw-r--r-- | template/html/sessions.html | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/template/html/sessions.html b/template/html/sessions.html index 6c76867..470dcba 100644 --- a/template/html/sessions.html +++ b/template/html/sessions.html @@ -10,12 +10,14 @@ <li> <a href="{{ route "integrations" }}">{{ t "Integrations" }}</a> </li> + {{ if .user.IsAdmin }} <li> <a href="{{ route "users" }}">{{ t "Users" }}</a> </li> <li> <a href="{{ route "createUser" }}">{{ t "Add user" }}</a> </li> + {{ end }} </ul> </section> |