2020-11-29 08:52:11 -07:00
|
|
|
<div class="ui secondary pointing tabular top attached borderless menu stackable new-menu navbar shadow-body">
|
2020-11-26 12:33:28 -07:00
|
|
|
<div class="new-menu-inner">
|
|
|
|
<a class="{{if .PageIsSettingsOptions}}active{{end}} item" href="{{.RepoLink}}/settings">
|
|
|
|
{{.i18n.Tr "repo.settings.options"}}
|
2015-12-07 15:30:52 -07:00
|
|
|
</a>
|
2020-11-26 12:33:28 -07:00
|
|
|
<a class="{{if .PageIsSettingsCollaboration}}active{{end}} item" href="{{.RepoLink}}/settings/collaboration">
|
|
|
|
{{.i18n.Tr "repo.settings.collaboration"}}
|
2015-12-07 15:30:52 -07:00
|
|
|
</a>
|
2020-11-26 12:33:28 -07:00
|
|
|
{{if not .Repository.IsEmpty}}
|
|
|
|
<a class="{{if .PageIsSettingsBranches}}active{{end}} item" href="{{.RepoLink}}/settings/branches">
|
|
|
|
{{.i18n.Tr "repo.settings.branches"}}
|
|
|
|
</a>
|
|
|
|
{{end}}
|
2021-02-11 10:34:34 -07:00
|
|
|
{{if not DisableWebhooks}}
|
|
|
|
<a class="{{if .PageIsSettingsHooks}}active{{end}} item" href="{{.RepoLink}}/settings/hooks">
|
|
|
|
{{.i18n.Tr "repo.settings.hooks"}}
|
|
|
|
</a>
|
|
|
|
{{end}}
|
2020-11-26 12:33:28 -07:00
|
|
|
{{if .SignedUser.CanEditGitHook}}
|
|
|
|
<a class="{{if .PageIsSettingsGitHooks}}active{{end}} item" href="{{.RepoLink}}/settings/hooks/git">
|
|
|
|
{{.i18n.Tr "repo.settings.githooks"}}
|
|
|
|
</a>
|
|
|
|
{{end}}
|
|
|
|
<a class="{{if .PageIsSettingsKeys}}active{{end}} item" href="{{.RepoLink}}/settings/keys">
|
|
|
|
{{.i18n.Tr "repo.settings.deploy_keys"}}
|
|
|
|
</a>
|
|
|
|
{{if .LFSStartServer}}
|
|
|
|
<a class="{{if .PageIsSettingsLFS}}active{{end}} item" href="{{.RepoLink}}/settings/lfs">
|
|
|
|
{{.i18n.Tr "repo.settings.lfs"}}
|
|
|
|
</a>
|
|
|
|
{{end}}
|
|
|
|
</div>
|
2015-08-10 07:27:10 -07:00
|
|
|
</div>
|