2019-11-18 02:26:47 +01:00
|
|
|
{{ define "settings_menu" }}
|
|
|
|
<ul>
|
|
|
|
<li>
|
|
|
|
<a href="{{ route "settings" }}">{{ t "menu.settings" }}</a>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<a href="{{ route "integrations" }}">{{ t "menu.integrations" }}</a>
|
|
|
|
</li>
|
2020-03-02 02:38:29 +01:00
|
|
|
<li>
|
|
|
|
<a href="{{ route "apiKeys" }}">{{ t "menu.api_keys" }}</a>
|
|
|
|
</li>
|
2019-11-18 02:26:47 +01:00
|
|
|
<li>
|
|
|
|
<a href="{{ route "sessions" }}">{{ t "menu.sessions" }}</a>
|
|
|
|
</li>
|
|
|
|
{{ if .user.IsAdmin }}
|
|
|
|
<li>
|
|
|
|
<a href="{{ route "users" }}">{{ t "menu.users" }}</a>
|
|
|
|
</li>
|
|
|
|
{{ end }}
|
|
|
|
<li>
|
|
|
|
<a href="{{ route "about" }}">{{ t "menu.about" }}</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
{{ end }}
|