feat(webui): open a currated version of the user accounts section to non admin users
This commit is contained in:
parent
2bf1731343
commit
d40595cacb
8 changed files with 49 additions and 24 deletions
|
@ -28,12 +28,10 @@
|
|||
<i class="material-symbols-outlined">settings</i>
|
||||
<span>Settings</span>
|
||||
</a>
|
||||
{{ if .Page.IsAdmin }}
|
||||
<a href="/accounts"{{ if eq .Page.Section "accounts" }} class="primary"{{ end}}>
|
||||
<i class="material-symbols-outlined">person</i>
|
||||
<span>User Accounts</span>
|
||||
</a>
|
||||
{{ end }}
|
||||
<hr>
|
||||
<a href="/logout">
|
||||
<i class="material-symbols-outlined">logout</i>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue