1
0
Fork 0
miniflux/internal/template/templates/common/settings_menu.html
2024-02-04 10:47:30 -08:00

26 lines
918 B
HTML

{{ define "settings_menu" }}
<nav aria-label="{{ t "page.settings.title" }} {{ t "menu.title" }}">
<ul>
<li>
<a href="{{ route "settings" }}">{{ icon "settings" }}{{ t "menu.settings" }}</a>
</li>
<li>
<a href="{{ route "integrations" }}">{{ icon "third-party-services" }}{{ t "menu.integrations" }}</a>
</li>
<li>
<a href="{{ route "apiKeys" }}">{{ icon "api" }}{{ t "menu.api_keys" }}</a>
</li>
<li>
<a href="{{ route "sessions" }}">{{ icon "sessions" }}{{ t "menu.sessions" }}</a>
</li>
{{ if .user.IsAdmin }}
<li>
<a href="{{ route "users" }}">{{ icon "users" }}{{ t "menu.users" }}</a>
</li>
{{ end }}
<li>
<a href="{{ route "about" }}">{{ icon "about" }}{{ t "menu.about" }}</a>
</li>
</ul>
</nav>
{{ end }}