diff options
author | Frédéric Guillot <fred@miniflux.net> | 2019-11-17 17:26:47 -0800 |
---|---|---|
committer | Frédéric Guillot <fred@miniflux.net> | 2019-11-17 17:40:24 -0800 |
commit | 789ad8257a84dfaa973ffa5e547cd419d933253d (patch) | |
tree | 1a97a4344a3f6ca36a7e811a86a0e4ec660fd551 /template/html/users.html | |
parent | 63a549f0e3d552075e927b2e43a4003fcf59cbf2 (diff) |
Make sure settings menu is consistent
Diffstat (limited to 'template/html/users.html')
-rw-r--r-- | template/html/users.html | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/template/html/users.html b/template/html/users.html index 9552c1b..7b17b1d 100644 --- a/template/html/users.html +++ b/template/html/users.html @@ -3,23 +3,7 @@ {{ define "content"}} <section class="page-header"> <h1>{{ t "page.users.title" }}</h1> - <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> - <li> - <a href="{{ route "createUser" }}">{{ t "menu.add_user" }}</a> - </li> - <li> - <a href="{{ route "about" }}">{{ t "menu.about" }}</a> - </li> - </ul> + {{ template "settings_menu" dict "user" .user }} </section> {{ if eq (len .users) 1 }} |