aboutsummaryrefslogtreecommitdiffhomepage
path: root/template/html/settings.html
diff options
context:
space:
mode:
Diffstat (limited to 'template/html/settings.html')
-rw-r--r--template/html/settings.html17
1 files changed, 1 insertions, 16 deletions
diff --git a/template/html/settings.html b/template/html/settings.html
index dbaee71..b0e4873 100644
--- a/template/html/settings.html
+++ b/template/html/settings.html
@@ -3,22 +3,7 @@
{{ define "content"}}
<section class="page-header">
<h1>{{ t "page.settings.title" }}</h1>
- <ul>
- <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 }}
- <li>
- <a href="{{ route "about" }}">{{ t "menu.about" }}</a>
- </li>
- </ul>
+ {{ template "settings_menu" dict "user" .user }}
</section>
<form method="post" autocomplete="off" action="{{ route "updateSettings" }}">