2017-03-15 22:39:38 +00:00
|
|
|
<div class="ui secondary pointing tabular top attached borderless menu stackable new-menu navbar">
|
2020-11-26 19:33:28 +00:00
|
|
|
<div class="new-menu-inner">
|
2022-12-09 13:34:51 +00:00
|
|
|
<a class="{{if .PageIsAdminDashboard}}active {{end}}item" href="{{AppSubUrl}}/admin">
|
2022-06-27 20:58:46 +00:00
|
|
|
{{.locale.Tr "admin.dashboard"}}
|
2020-11-26 19:33:28 +00:00
|
|
|
</a>
|
2022-12-09 13:34:51 +00:00
|
|
|
<a class="{{if .PageIsAdminUsers}}active {{end}}item" href="{{AppSubUrl}}/admin/users">
|
2022-06-27 20:58:46 +00:00
|
|
|
{{.locale.Tr "admin.users"}}
|
2020-11-26 19:33:28 +00:00
|
|
|
</a>
|
2022-12-09 13:34:51 +00:00
|
|
|
<a class="{{if .PageIsAdminOrganizations}}active {{end}}item" href="{{AppSubUrl}}/admin/orgs">
|
2022-06-27 20:58:46 +00:00
|
|
|
{{.locale.Tr "admin.organizations"}}
|
2020-11-26 19:33:28 +00:00
|
|
|
</a>
|
2022-12-09 13:34:51 +00:00
|
|
|
<a class="{{if .PageIsAdminRepositories}}active {{end}}item" href="{{AppSubUrl}}/admin/repos">
|
2022-06-27 20:58:46 +00:00
|
|
|
{{.locale.Tr "admin.repositories"}}
|
2020-11-26 19:33:28 +00:00
|
|
|
</a>
|
2022-10-22 03:24:09 +00:00
|
|
|
{{if .EnablePackages}}
|
2022-12-09 13:34:51 +00:00
|
|
|
<a class="{{if .PageIsAdminPackages}}active {{end}}item" href="{{AppSubUrl}}/admin/packages">
|
2022-10-22 03:24:09 +00:00
|
|
|
{{.locale.Tr "packages.title"}}
|
|
|
|
</a>
|
|
|
|
{{end}}
|
2021-02-11 17:34:34 +00:00
|
|
|
{{if not DisableWebhooks}}
|
2022-12-09 13:34:51 +00:00
|
|
|
<a class="{{if or .PageIsAdminDefaultHooks .PageIsAdminSystemHooks}}active {{end}}item" href="{{AppSubUrl}}/admin/hooks">
|
2022-06-27 20:58:46 +00:00
|
|
|
{{.locale.Tr "admin.hooks"}}
|
2021-02-11 17:34:34 +00:00
|
|
|
</a>
|
|
|
|
{{end}}
|
2022-12-09 13:34:51 +00:00
|
|
|
<a class="{{if .PageIsAdminAuthentications}}active {{end}}item" href="{{AppSubUrl}}/admin/auths">
|
2022-06-27 20:58:46 +00:00
|
|
|
{{.locale.Tr "admin.authentication"}}
|
2020-11-26 19:33:28 +00:00
|
|
|
</a>
|
2022-12-09 13:34:51 +00:00
|
|
|
<a class="{{if .PageIsAdminEmails}}active {{end}}item" href="{{AppSubUrl}}/admin/emails">
|
2022-06-27 20:58:46 +00:00
|
|
|
{{.locale.Tr "admin.emails"}}
|
2020-11-26 19:33:28 +00:00
|
|
|
</a>
|
2022-10-12 14:08:29 +00:00
|
|
|
{{if .EnableOAuth2}}
|
2022-12-09 13:34:51 +00:00
|
|
|
<a class="{{if .PageIsAdminApplications}}active {{end}}item" href="{{AppSubUrl}}/admin/applications">
|
2022-10-12 14:08:29 +00:00
|
|
|
{{.locale.Tr "settings.applications"}}
|
|
|
|
</a>
|
|
|
|
{{end}}
|
2022-12-09 13:34:51 +00:00
|
|
|
<a class="{{if .PageIsAdminConfig}}active {{end}}item" href="{{AppSubUrl}}/admin/config">
|
2022-06-27 20:58:46 +00:00
|
|
|
{{.locale.Tr "admin.config"}}
|
2020-11-26 19:33:28 +00:00
|
|
|
</a>
|
2022-12-09 13:34:51 +00:00
|
|
|
<a class="{{if .PageIsAdminNotices}}active {{end}}item" href="{{AppSubUrl}}/admin/notices">
|
2022-06-27 20:58:46 +00:00
|
|
|
{{.locale.Tr "admin.notices"}}
|
2020-11-26 19:33:28 +00:00
|
|
|
</a>
|
2022-12-09 13:34:51 +00:00
|
|
|
<a class="{{if .PageIsAdminMonitor}}active {{end}}item" href="{{AppSubUrl}}/admin/monitor">
|
2022-06-27 20:58:46 +00:00
|
|
|
{{.locale.Tr "admin.monitor"}}
|
2020-11-26 19:33:28 +00:00
|
|
|
</a>
|
|
|
|
</div>
|
2019-03-19 02:33:20 +00:00
|
|
|
</div>
|