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