2014-08-02 12:47:33 -05:00
|
|
|
<div id="setting-menu" class="grid-1-5 panel panel-radius left">
|
2015-12-07 17:30:52 -05:00
|
|
|
<p class="panel-header"><strong>{{.i18n.Tr "repo.settings"}}</strong></p>
|
|
|
|
<div class="panel-body">
|
|
|
|
<ul class="menu menu-vertical switching-list grid-1-5 left">
|
|
|
|
<li {{if .PageIsSettingsOptions}}class="current"{{end}}><a href="{{.RepoLink}}/settings">{{.i18n.Tr "repo.settings.options"}}</a></li>
|
|
|
|
<li {{if .PageIsSettingsCollaboration}}class="current"{{end}}><a href="{{.RepoLink}}/settings/collaboration">{{.i18n.Tr "repo.settings.collaboration"}}</a></li>
|
2017-02-21 10:02:10 -05:00
|
|
|
<li {{if .PageIsSettingsBranches}}class="current"{{end}}><a href="{{.RepoLink}}/settings/branches">{{.i18n.Tr "repo.settings.branches"}}</a></li>
|
2021-06-25 09:28:55 -05:00
|
|
|
<li {{if .PageIsSettingsTags}}class="current"{{end}}><a href="{{.RepoLink}}/settings/tags">{{.i18n.Tr "repo.settings.tags"}}</a></li>
|
2021-02-11 12:34:34 -05:00
|
|
|
{{if not DisableWebhooks}}
|
2015-12-07 17:30:52 -05:00
|
|
|
<li {{if .PageIsSettingsHooks}}class="current"{{end}}><a href="{{.RepoLink}}/settings/hooks">{{.i18n.Tr "repo.settings.hooks"}}</a></li>
|
2021-02-11 12:34:34 -05:00
|
|
|
{{end}}
|
2015-12-07 17:30:52 -05:00
|
|
|
{{if or .SignedUser.AllowGitHook .SignedUser.IsAdmin}}
|
|
|
|
<li {{if .PageIsSettingsGitHooks}}class="current"{{end}}><a href="{{.RepoLink}}/settings/hooks/git">{{.i18n.Tr "repo.settings.githooks"}}</a></li>
|
|
|
|
{{end}}
|
|
|
|
<li {{if .PageIsSettingsKeys}}class="current"{{end}}><a href="{{.RepoLink}}/settings/keys">{{.i18n.Tr "repo.settings.deploy_keys"}}</a></li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|