mirror of
https://github.com/miniflux/v2.git
synced 2025-07-27 17:28:38 +00:00
Make sure settings menu is consistent
This commit is contained in:
parent
63a549f0e3
commit
789ad8257a
10 changed files with 70 additions and 249 deletions
24
template/html/common/settings_menu.html
Normal file
24
template/html/common/settings_menu.html
Normal file
|
@ -0,0 +1,24 @@
|
|||
{{ 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 }}
|
Loading…
Add table
Add a link
Reference in a new issue