aboutsummaryrefslogtreecommitdiffstats
path: root/templates/base
diff options
context:
space:
mode:
authorFuXiaoHei <fuxiaohei@hexiaz.com>2014-03-10 16:54:52 +0800
committerFuXiaoHei <fuxiaohei@hexiaz.com>2014-03-10 16:54:52 +0800
commit46687f391c4e81fd17f7ecac22d3587c711e07d5 (patch)
tree96b3486af84c634647dc03b2e7849d5618c0f42c /templates/base
parent0d9b2f38600325e3a8d87526061efbe9e3b78b91 (diff)
downloadgitea-46687f391c4e81fd17f7ecac22d3587c711e07d5.tar.gz
gitea-46687f391c4e81fd17f7ecac22d3587c711e07d5.zip
ssh keys operation page ui
Diffstat (limited to 'templates/base')
-rw-r--r--templates/base/navbar.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/base/navbar.tmpl b/templates/base/navbar.tmpl
index 12434dad22..e78f6bb221 100644
--- a/templates/base/navbar.tmpl
+++ b/templates/base/navbar.tmpl
@@ -10,7 +10,7 @@
<img src="http://1.gravatar.com/avatar/{{.SignedAvatar}}?s=28" alt="user-avatar" title="username"/>
</a>
<a class="navbar-right gogs-nav-item" href="/repo/create" data-toggle="tooltip" data-placement="bottom" title="New Repository"><i class="fa fa-plus fa-lg"></i></a>
- <a class="navbar-right gogs-nav-item" href="/user/publickey/list" data-toggle="tooltip" data-placement="bottom" title="Setting"><i class="fa fa-cogs fa-lg"></i></a>
+ <a class="navbar-right gogs-nav-item{{if .PageIsUserSetting}} active{{end}}" href="/user/setting" data-toggle="tooltip" data-placement="bottom" title="Setting"><i class="fa fa-cogs fa-lg"></i></a>
{{else}}<a id="gogs-nav-signin" class="gogs-nav-item navbar-right navbar-btn btn btn-danger" href="/user/login/">Sign in</a>{{end}}
</nav>
</div>