2014-08-02 17:47:33 +00:00
|
|
|
<div id="setting-menu" class="grid-1-5 panel panel-radius left">
|
2022-06-27 20:58:46 +00:00
|
|
|
<p class="panel-header"><strong>{{.locale.Tr "repo.settings"}}</strong></p>
|
2015-12-07 22:30:52 +00:00
|
|
|
<div class="panel-body">
|
|
|
|
<ul class="menu menu-vertical switching-list grid-1-5 left">
|
2022-06-27 20:58:46 +00:00
|
|
|
<li {{if .PageIsSettingsOptions}}class="current"{{end}}><a href="{{.RepoLink}}/settings">{{.locale.Tr "repo.settings.options"}}</a></li>
|
|
|
|
<li {{if .PageIsSettingsCollaboration}}class="current"{{end}}><a href="{{.RepoLink}}/settings/collaboration">{{.locale.Tr "repo.settings.collaboration"}}</a></li>
|
|
|
|
<li {{if .PageIsSettingsBranches}}class="current"{{end}}><a href="{{.RepoLink}}/settings/branches">{{.locale.Tr "repo.settings.branches"}}</a></li>
|
|
|
|
<li {{if .PageIsSettingsTags}}class="current"{{end}}><a href="{{.RepoLink}}/settings/tags">{{.locale.Tr "repo.settings.tags"}}</a></li>
|
2021-02-11 17:34:34 +00:00
|
|
|
{{if not DisableWebhooks}}
|
2022-06-27 20:58:46 +00:00
|
|
|
<li {{if .PageIsSettingsHooks}}class="current"{{end}}><a href="{{.RepoLink}}/settings/hooks">{{.locale.Tr "repo.settings.hooks"}}</a></li>
|
2021-02-11 17:34:34 +00:00
|
|
|
{{end}}
|
2015-12-07 22:30:52 +00:00
|
|
|
{{if or .SignedUser.AllowGitHook .SignedUser.IsAdmin}}
|
2022-06-27 20:58:46 +00:00
|
|
|
<li {{if .PageIsSettingsGitHooks}}class="current"{{end}}><a href="{{.RepoLink}}/settings/hooks/git">{{.locale.Tr "repo.settings.githooks"}}</a></li>
|
2015-12-07 22:30:52 +00:00
|
|
|
{{end}}
|
2023-02-01 12:53:04 +00:00
|
|
|
<li {{if .PageIsSettingsKeys}}class="current"{{end}}><a href="{{.RepoLink}}/settings/keys">{{.locale.Tr "repo.settings.deploy_keys"}}</a></li>
|
2023-05-24 10:01:11 +00:00
|
|
|
{{if .EnableActions}}
|
2023-02-01 12:53:04 +00:00
|
|
|
<li {{if .PageIsSettingsSecrets}}class="current"{{end}}><a href="{{.RepoLink}}/settings/secrets">{{.locale.Tr "secrets.secrets"}}</a></li>
|
2023-05-24 10:01:11 +00:00
|
|
|
{{end}}
|
2015-12-07 22:30:52 +00:00
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|