2017-03-15 23:39:38 +01:00
|
|
|
<div class="ui secondary pointing tabular top attached borderless menu stackable new-menu navbar">
|
2020-11-26 20:33:28 +01:00
|
|
|
<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>
|
2022-10-27 06:34:32 +02:00
|
|
|
{{if .EnablePackages}}
|
|
|
|
<a class="{{if .PageIsAdminPackages}}active{{end}} item" href="{{AppSubUrl}}/admin/packages">
|
|
|
|
{{.i18n.Tr "packages.title"}}
|
|
|
|
</a>
|
|
|
|
{{end}}
|
2021-02-11 18:34:34 +01:00
|
|
|
{{if not DisableWebhooks}}
|
|
|
|
<a class="{{if or .PageIsAdminDefaultHooks .PageIsAdminSystemHooks}}active{{end}} item" href="{{AppSubUrl}}/admin/hooks">
|
|
|
|
{{.i18n.Tr "admin.hooks"}}
|
|
|
|
</a>
|
|
|
|
{{end}}
|
2020-11-26 20:33:28 +01:00
|
|
|
<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>
|
2019-03-19 03:33:20 +01:00
|
|
|
</div>
|