summaryrefslogtreecommitdiffstats
path: root/templates/repo/settings/nav.tmpl
blob: 16128f0151065fa6adcdf0fd4c132f15ef339ab4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
<div id="setting-menu" class="grid-1-5 panel panel-radius left">
    <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>
            <li {{if .PageIsSettingsHooks}}class="current"{{end}}><a href="{{.RepoLink}}/settings/hooks">{{.i18n.Tr "repo.settings.hooks"}}</a></li>
            <li {{if .PageIsSettingsGitHooks}}class="current"{{end}}><a href="{{.RepoLink}}/settings/hooks/git">{{.i18n.Tr "repo.settings.githooks"}}</a></li>
            <!-- <li {{if .PageIsSettingsKeys}}class="current"{{end}}><a href="{{.RepoLink}}/settings/keys">{{.i18n.Tr "repo.settings.deploy_keys"}}</a></li> -->
        </ul>
    </div>
</div>