1
0
Fork 0
miniflux/internal/template/templates/common/settings_menu.html
2023-08-10 20:29:34 -07:00

24 lines
No EOL
752 B
HTML

{{ define "settings_menu" }}
<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>
{{ end }}