diff options
author | Unknwon <u@gogs.io> | 2015-08-19 02:49:44 +0800 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-08-19 02:49:44 +0800 |
commit | 249345458737e4db5a06250593787b483726dff0 (patch) | |
tree | cf0c0b2a26341cbddfce59219d3cf447622563e3 /templates/base | |
parent | 81b8427438d4d37d38a46d0fec4c22aee60f91fa (diff) | |
download | gitea-249345458737e4db5a06250593787b483726dff0.tar.gz gitea-249345458737e4db5a06250593787b483726dff0.zip |
new delete account UI and password confirmation
Diffstat (limited to 'templates/base')
-rw-r--r-- | templates/base/head.tmpl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/base/head.tmpl b/templates/base/head.tmpl index e8e84ce510..0470ac0bed 100644 --- a/templates/base/head.tmpl +++ b/templates/base/head.tmpl @@ -110,7 +110,7 @@ <i class="octicon icon octicon-person"></i> {{.i18n.Tr "your_profile"}}<!-- Your profile --> </a> - <a class="item" href="{{AppSubUrl}}/user/settings"> + <a class="{{if .PageIsUserSettings}}active{{end}} item" href="{{AppSubUrl}}/user/settings"> <i class="octicon icon octicon-settings"></i> {{.i18n.Tr "your_settings"}}<!-- Your settings --> </a> @@ -121,7 +121,7 @@ {{if .IsAdmin}} <div class="divider"></div> - <a class="item" href="{{AppSubUrl}}/admin"> + <a class="{{if .PageIsAdmin}}active{{end}} item" href="{{AppSubUrl}}/admin"> <i class="icon settings"></i> {{.i18n.Tr "admin_panel"}}<!-- Admin Panel --> </a> |