diff options
author | Lauris BH <lauris@nix.lv> | 2021-01-15 01:24:03 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-15 01:24:03 +0200 |
commit | 6eee9f0f4e56e620b2eacfc9c2b59c6448308290 (patch) | |
tree | 8aa10ddcc6c7ae19ce0e6f28edff93a16949058a /templates/admin/navbar.tmpl | |
parent | 84b147c7f0c2575723d3471783cb24078232fe7a (diff) | |
download | gitea-6eee9f0f4e56e620b2eacfc9c2b59c6448308290.tar.gz gitea-6eee9f0f4e56e620b2eacfc9c2b59c6448308290.zip |
Merge default and system webhooks under one menu (#14244)
Diffstat (limited to 'templates/admin/navbar.tmpl')
-rw-r--r-- | templates/admin/navbar.tmpl | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/templates/admin/navbar.tmpl b/templates/admin/navbar.tmpl index 8c895b8c27..953076d808 100644 --- a/templates/admin/navbar.tmpl +++ b/templates/admin/navbar.tmpl @@ -12,12 +12,9 @@ <a class="{{if .PageIsAdminRepositories}}active{{end}} item" href="{{AppSubUrl}}/admin/repos"> {{.i18n.Tr "admin.repositories"}} </a> - <a class="{{if .PageIsAdminHooks}}active{{end}} item" href="{{AppSubUrl}}/admin/hooks"> + <a class="{{if or .PageIsAdminDefaultHooks .PageIsAdminSystemHooks}}active{{end}} item" href="{{AppSubUrl}}/admin/hooks"> {{.i18n.Tr "admin.hooks"}} </a> - <a class="{{if .PageIsAdminSystemHooks}}active{{end}} item" href="{{AppSubUrl}}/admin/system-hooks"> - {{.i18n.Tr "admin.systemhooks"}} - </a> <a class="{{if .PageIsAdminAuthentications}}active{{end}} item" href="{{AppSubUrl}}/admin/auths"> {{.i18n.Tr "admin.authentication"}} </a> |