summaryrefslogtreecommitdiffstats
path: root/templates/repo/settings/nav.tmpl
diff options
context:
space:
mode:
authorUnknwon <joe2010xtmf@163.com>2014-08-02 13:47:33 -0400
committerUnknwon <joe2010xtmf@163.com>2014-08-02 13:47:33 -0400
commit755eec745fa324fdd13078f0147638f8731652ba (patch)
tree3c04a98d64e128d2ce8887cc20ed361f04010052 /templates/repo/settings/nav.tmpl
parent669552e255fb98021b779918394c65792fe6f1d2 (diff)
downloadgitea-755eec745fa324fdd13078f0147638f8731652ba.tar.gz
gitea-755eec745fa324fdd13078f0147638f8731652ba.zip
Finish new repo settings page
Diffstat (limited to 'templates/repo/settings/nav.tmpl')
-rw-r--r--templates/repo/settings/nav.tmpl11
1 files changed, 11 insertions, 0 deletions
diff --git a/templates/repo/settings/nav.tmpl b/templates/repo/settings/nav.tmpl
new file mode 100644
index 0000000000..6288ca6cd7
--- /dev/null
+++ b/templates/repo/settings/nav.tmpl
@@ -0,0 +1,11 @@
+<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 .PageIsSettingsKeys}}class="current"{{end}}><a href="{{.RepoLink}}/settings/keys">{{.i18n.Tr "repo.settings.deploy_keys"}}</a></li>
+ </ul>
+ </div>
+</div> \ No newline at end of file