2014-08-02 21:47:33 +04:00
|
|
|
<div id="setting-menu" class="grid-1-5 panel panel-radius left">
|
2023-09-25 16:15:51 +03:00
|
|
|
<p class="panel-header"><strong>{{ctx.Locale.Tr "repo.settings"}}</strong></p>
|
2015-12-08 01:30:52 +03:00
|
|
|
<div class="panel-body">
|
|
|
|
<ul class="menu menu-vertical switching-list grid-1-5 left">
|
2023-09-25 16:15:51 +03:00
|
|
|
<li {{if .PageIsSettingsOptions}}class="current"{{end}}><a href="{{.RepoLink}}/settings">{{ctx.Locale.Tr "repo.settings.options"}}</a></li>
|
|
|
|
<li {{if .PageIsSettingsCollaboration}}class="current"{{end}}><a href="{{.RepoLink}}/settings/collaboration">{{ctx.Locale.Tr "repo.settings.collaboration"}}</a></li>
|
|
|
|
<li {{if .PageIsSettingsBranches}}class="current"{{end}}><a href="{{.RepoLink}}/settings/branches">{{ctx.Locale.Tr "repo.settings.branches"}}</a></li>
|
|
|
|
<li {{if .PageIsSettingsTags}}class="current"{{end}}><a href="{{.RepoLink}}/settings/tags">{{ctx.Locale.Tr "repo.settings.tags"}}</a></li>
|
2021-02-11 20:34:34 +03:00
|
|
|
{{if not DisableWebhooks}}
|
2023-09-25 16:15:51 +03:00
|
|
|
<li {{if .PageIsSettingsHooks}}class="current"{{end}}><a href="{{.RepoLink}}/settings/hooks">{{ctx.Locale.Tr "repo.settings.hooks"}}</a></li>
|
2021-02-11 20:34:34 +03:00
|
|
|
{{end}}
|
2015-12-08 01:30:52 +03:00
|
|
|
{{if or .SignedUser.AllowGitHook .SignedUser.IsAdmin}}
|
2023-09-25 16:15:51 +03:00
|
|
|
<li {{if .PageIsSettingsGitHooks}}class="current"{{end}}><a href="{{.RepoLink}}/settings/hooks/git">{{ctx.Locale.Tr "repo.settings.githooks"}}</a></li>
|
2015-12-08 01:30:52 +03:00
|
|
|
{{end}}
|
2023-09-25 16:15:51 +03:00
|
|
|
<li {{if .PageIsSettingsKeys}}class="current"{{end}}><a href="{{.RepoLink}}/settings/keys">{{ctx.Locale.Tr "repo.settings.deploy_keys"}}</a></li>
|
|
|
|
<li {{if .PageIsSharedSettingsSecrets}}class="current"{{end}}><a href="{{.RepoLink}}/settings/secrets">{{ctx.Locale.Tr "secrets.secrets"}}</a></li>
|
2015-12-08 01:30:52 +03:00
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|