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/about.html | |
parent | 63a549f0e3d552075e927b2e43a4003fcf59cbf2 (diff) |
Make sure settings menu is consistent
Diffstat (limited to 'template/html/about.html')
-rw-r--r-- | template/html/about.html | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/template/html/about.html b/template/html/about.html index 29bb2e9..d4ea6e2 100644 --- a/template/html/about.html +++ b/template/html/about.html @@ -3,22 +3,7 @@ {{ define "content"}} <section class="page-header"> <h1>{{ t "page.about.title" }}</h1> - <ul> - <li> - <a href="{{ route "settings" }}">{{ t "menu.preferences" }}</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> - {{ end }} - </ul> + {{ template "settings_menu" dict "user" .user }} </section> <div class="panel"> |