Do not display users links on sessions page
This commit is contained in:
parent
19494742ff
commit
a52359fedb
2 changed files with 6 additions and 2 deletions
|
@ -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>
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// Code generated by go generate; DO NOT EDIT.
|
||||
// 2018-01-04 18:29:14.774068584 -0800 PST m=+0.005581816
|
||||
// 2018-01-05 18:05:45.591353454 -0800 PST m=+0.022613760
|
||||
|
||||
package template
|
||||
|
||||
|
@ -1014,12 +1014,14 @@ var templateViewsMap = map[string]string{
|
|||
<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>
|
||||
|
||||
|
@ -1351,7 +1353,7 @@ var templateViewsMapChecksums = map[string]string{
|
|||
"import": "73b5112e20bfd232bf73334544186ea419505936bc237d481517a8622901878f",
|
||||
"integrations": "3c14d7de904911aad7f3ebec6d1a20b50843287f58125c526e167f429f3d455d",
|
||||
"login": "7d83c3067c02f1f6aafdd8816c7f97a4eb5a5a4bdaaaa4cc1e2fbb9c17ea65e8",
|
||||
"sessions": "878dbe8f8ea783b44130c495814179519fa5c3aa2666ac87508f94d58dd008bf",
|
||||
"sessions": "9a3609c52b071a280b85fd886f15d4b91c76bb0ab93a99ad132c695a216ac5cf",
|
||||
"settings": "ea2505b9d0a6d6bb594dba87a92079de19baa6d494f0651693a7685489fb7de9",
|
||||
"starred": "33dd40d1a24739e9d05f9cc4b66497cfdb8c86a7abb209a66ca65c2fbafc7d87",
|
||||
"unread": "690bac794c4d21086f1a03588753088d7c26385de9a0c2723add6c7905b63f5e",
|
||||
|
|
Loading…
Reference in a new issue