aboutsummaryrefslogtreecommitdiffstats
path: root/templates/ng
diff options
context:
space:
mode:
authorUnknwon <joe2010xtmf@163.com>2014-08-28 22:29:00 +0800
committerUnknwon <joe2010xtmf@163.com>2014-08-28 22:29:00 +0800
commit1aec1a2ddae3a3714d6a167d85fcc1c69413b660 (patch)
tree07fb6534ac71aea4edca41d39ececd7d81976b04 /templates/ng
parent81287ba022ae906f1f9eb5b1324567cd93771b4e (diff)
downloadgitea-1aec1a2ddae3a3714d6a167d85fcc1c69413b660.tar.gz
gitea-1aec1a2ddae3a3714d6a167d85fcc1c69413b660.zip
Finish new admin dashboard
Diffstat (limited to 'templates/ng')
-rw-r--r--templates/ng/base/header.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/ng/base/header.tmpl b/templates/ng/base/header.tmpl
index ce1e170319..31533d2727 100644
--- a/templates/ng/base/header.tmpl
+++ b/templates/ng/base/header.tmpl
@@ -19,7 +19,7 @@
<a href="/user/settings" title="{{.i18n.Tr "account_settings"}}"><i class="octicon octicon-settings"></i></a>
</li>
{{if .IsAdmin}}
- <li class="right">
+ <li class="right {{if .PageIsAdmin}}current{{end}}">
<a href="/admin" title="{{.i18n.Tr "admin_panel"}}"><i class="octicon octicon-circuit-board"></i></a>
</li>
{{end}}