mirror of
https://github.com/go-gitea/gitea.git
synced 2024-11-22 22:17:24 +08:00
7d7007dca7
* Added option to disable web hooks This mod introduces DISABLE_WEB_HOOKS parameter in [security] section of app.ini (by default set to false). If set to true it disables web hooks feature. Any existing undelivered web hook tasks will be cancelled. Any existing web hook definitions will be left untouched in db but its delivery tasks will be ignored. Author-Change-Id: IB#1105130 * Webhook spelling fixed Webhook spelling fixed. Fixes:07df6614dc
Related: https://github.com/go-gitea/gitea/pull/13176#pullrequestreview-510868421 Author-Change-Id: IB#1105174 * Parameter description fixed Parameter description fixed. Fixes:07df6614dc
Related: https://github.com/go-gitea/gitea/pull/13176#pullrequestreview-514086107 Author-Change-Id: IB#1105174
37 lines
1.5 KiB
Handlebars
37 lines
1.5 KiB
Handlebars
<div class="ui secondary pointing tabular top attached borderless menu stackable new-menu navbar">
|
|
<div class="new-menu-inner">
|
|
<a class="{{if .PageIsAdminDashboard}}active{{end}} item" href="{{AppSubUrl}}/admin">
|
|
{{.i18n.Tr "admin.dashboard"}}
|
|
</a>
|
|
<a class="{{if .PageIsAdminUsers}}active{{end}} item" href="{{AppSubUrl}}/admin/users">
|
|
{{.i18n.Tr "admin.users"}}
|
|
</a>
|
|
<a class="{{if .PageIsAdminOrganizations}}active{{end}} item" href="{{AppSubUrl}}/admin/orgs">
|
|
{{.i18n.Tr "admin.organizations"}}
|
|
</a>
|
|
<a class="{{if .PageIsAdminRepositories}}active{{end}} item" href="{{AppSubUrl}}/admin/repos">
|
|
{{.i18n.Tr "admin.repositories"}}
|
|
</a>
|
|
{{if not DisableWebhooks}}
|
|
<a class="{{if or .PageIsAdminDefaultHooks .PageIsAdminSystemHooks}}active{{end}} item" href="{{AppSubUrl}}/admin/hooks">
|
|
{{.i18n.Tr "admin.hooks"}}
|
|
</a>
|
|
{{end}}
|
|
<a class="{{if .PageIsAdminAuthentications}}active{{end}} item" href="{{AppSubUrl}}/admin/auths">
|
|
{{.i18n.Tr "admin.authentication"}}
|
|
</a>
|
|
<a class="{{if .PageIsAdminEmails}}active{{end}} item" href="{{AppSubUrl}}/admin/emails">
|
|
{{.i18n.Tr "admin.emails"}}
|
|
</a>
|
|
<a class="{{if .PageIsAdminConfig}}active{{end}} item" href="{{AppSubUrl}}/admin/config">
|
|
{{.i18n.Tr "admin.config"}}
|
|
</a>
|
|
<a class="{{if .PageIsAdminNotices}}active{{end}} item" href="{{AppSubUrl}}/admin/notices">
|
|
{{.i18n.Tr "admin.notices"}}
|
|
</a>
|
|
<a class="{{if .PageIsAdminMonitor}}active{{end}} item" href="{{AppSubUrl}}/admin/monitor">
|
|
{{.i18n.Tr "admin.monitor"}}
|
|
</a>
|
|
</div>
|
|
</div>
|