aboutsummaryrefslogtreecommitdiff
path: root/templates/user/settings/navbar.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/user/settings/navbar.tmpl')
-rw-r--r--templates/user/settings/navbar.tmpl5
1 files changed, 5 insertions, 0 deletions
diff --git a/templates/user/settings/navbar.tmpl b/templates/user/settings/navbar.tmpl
index 8deffde0b..4afe2173c 100644
--- a/templates/user/settings/navbar.tmpl
+++ b/templates/user/settings/navbar.tmpl
@@ -26,6 +26,11 @@
{{.locale.Tr "packages.title"}}
</a>
{{end}}
+ {{if not DisableWebhooks}}
+ <a class="{{if .PageIsSettingsHooks}}active {{end}}item" href="{{AppSubUrl}}/user/settings/hooks">
+ {{.locale.Tr "repo.settings.hooks"}}
+ </a>
+ {{end}}
<a class="{{if .PageIsSettingsOrganization}}active {{end}}item" href="{{AppSubUrl}}/user/settings/organization">
{{.locale.Tr "settings.organization"}}
</a>