24 lines
No EOL
640 B
HTML
24 lines
No EOL
640 B
HTML
{{ define "settings_menu" }}
|
|
<ul>
|
|
<li>
|
|
<a href="{{ route "settings" }}">{{ t "menu.settings" }}</a>
|
|
</li>
|
|
<li>
|
|
<a href="{{ route "integrations" }}">{{ t "menu.integrations" }}</a>
|
|
</li>
|
|
<li>
|
|
<a href="{{ route "sessions" }}">{{ t "menu.sessions" }}</a>
|
|
</li>
|
|
{{ if .user.IsAdmin }}
|
|
<li>
|
|
<a href="{{ route "users" }}">{{ t "menu.users" }}</a>
|
|
</li>
|
|
<li>
|
|
<a href="{{ route "createUser" }}">{{ t "menu.add_user" }}</a>
|
|
</li>
|
|
{{ end }}
|
|
<li>
|
|
<a href="{{ route "about" }}">{{ t "menu.about" }}</a>
|
|
</li>
|
|
</ul>
|
|
{{ end }} |