mirror of
https://github.com/go-gitea/gitea
synced 2024-11-04 21:29:12 +01:00
b34996a629
Partially implement #770. Add "Default Webhooks" page in site admin UI. Persist to the existing webhooks table, but store with RepoID=0 and OrgID=0. Upon repo creation, copy the set of default webhooks into the new repo.
29 lines
1.3 KiB
Cheetah
29 lines
1.3 KiB
Cheetah
<div class="ui secondary pointing tabular top attached borderless menu stackable new-menu navbar">
|
|
<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>
|
|
<a class="{{if .PageIsAdminHooks}}active{{end}} item" href="{{AppSubUrl}}/admin/hooks">
|
|
{{.i18n.Tr "admin.hooks"}}
|
|
</a>
|
|
<a class="{{if .PageIsAdminAuthentications}}active{{end}} item" href="{{AppSubUrl}}/admin/auths">
|
|
{{.i18n.Tr "admin.authentication"}}
|
|
</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>
|