2020-11-30 00:52:11 +09:00
|
|
|
<div class="ui secondary pointing tabular top attached borderless menu stackable new-menu navbar shadow-body">
|
2020-11-27 04:33:28 +09:00
|
|
|
<div class="new-menu-inner">
|
2022-12-09 22:34:51 +09:00
|
|
|
<a class="{{if .PageIsSettingsOptions}}active {{end}}item" href="{{.RepoLink}}/settings">
|
2022-06-28 05:58:46 +09:00
|
|
|
{{.locale.Tr "repo.settings.options"}}
|
2015-12-08 07:30:52 +09:00
|
|
|
</a>
|
2022-12-09 22:34:51 +09:00
|
|
|
<a class="{{if .PageIsSettingsCollaboration}}active {{end}}item" href="{{.RepoLink}}/settings/collaboration">
|
2022-06-28 05:58:46 +09:00
|
|
|
{{.locale.Tr "repo.settings.collaboration"}}
|
2015-12-08 07:30:52 +09:00
|
|
|
</a>
|
2020-11-27 04:33:28 +09:00
|
|
|
{{if not .Repository.IsEmpty}}
|
2022-12-09 22:34:51 +09:00
|
|
|
<a class="{{if .PageIsSettingsBranches}}active {{end}}item" href="{{.RepoLink}}/settings/branches">
|
2022-06-28 05:58:46 +09:00
|
|
|
{{.locale.Tr "repo.settings.branches"}}
|
2020-11-27 04:33:28 +09:00
|
|
|
</a>
|
|
|
|
{{end}}
|
2022-12-09 22:34:51 +09:00
|
|
|
<a class="{{if .PageIsSettingsTags}}active {{end}}item" href="{{.RepoLink}}/settings/tags">
|
2022-06-28 05:58:46 +09:00
|
|
|
{{.locale.Tr "repo.settings.tags"}}
|
2021-06-25 23:28:55 +09:00
|
|
|
</a>
|
2021-02-12 02:34:34 +09:00
|
|
|
{{if not DisableWebhooks}}
|
2022-12-09 22:34:51 +09:00
|
|
|
<a class="{{if .PageIsSettingsHooks}}active {{end}}item" href="{{.RepoLink}}/settings/hooks">
|
2022-06-28 05:58:46 +09:00
|
|
|
{{.locale.Tr "repo.settings.hooks"}}
|
2021-02-12 02:34:34 +09:00
|
|
|
</a>
|
|
|
|
{{end}}
|
2020-11-27 04:33:28 +09:00
|
|
|
{{if .SignedUser.CanEditGitHook}}
|
2022-12-09 22:34:51 +09:00
|
|
|
<a class="{{if .PageIsSettingsGitHooks}}active {{end}}item" href="{{.RepoLink}}/settings/hooks/git">
|
2022-06-28 05:58:46 +09:00
|
|
|
{{.locale.Tr "repo.settings.githooks"}}
|
2020-11-27 04:33:28 +09:00
|
|
|
</a>
|
|
|
|
{{end}}
|
2022-12-09 22:34:51 +09:00
|
|
|
<a class="{{if .PageIsSettingsKeys}}active {{end}}item" href="{{.RepoLink}}/settings/keys">
|
2022-12-20 18:07:13 +09:00
|
|
|
{{.locale.Tr "secrets.secrets"}}
|
2020-11-27 04:33:28 +09:00
|
|
|
</a>
|
|
|
|
{{if .LFSStartServer}}
|
2022-12-09 22:34:51 +09:00
|
|
|
<a class="{{if .PageIsSettingsLFS}}active {{end}}item" href="{{.RepoLink}}/settings/lfs">
|
2022-06-28 05:58:46 +09:00
|
|
|
{{.locale.Tr "repo.settings.lfs"}}
|
2020-11-27 04:33:28 +09:00
|
|
|
</a>
|
|
|
|
{{end}}
|
|
|
|
</div>
|
2015-08-10 23:27:10 +09:00
|
|
|
</div>
|