diff options
author | Unknwon <joe2010xtmf@163.com> | 2015-02-03 06:54:29 -0500 |
---|---|---|
committer | Unknwon <joe2010xtmf@163.com> | 2015-02-03 06:54:29 -0500 |
commit | 8e238058b22adba7cb9e02c5911d45f281a52ee2 (patch) | |
tree | a142bccab271a66cea3cf99a12420ed3f108bdbf /templates | |
parent | 26bccef297913a6bc679edee809159616a98b0af (diff) | |
download | gitea-8e238058b22adba7cb9e02c5911d45f281a52ee2.tar.gz gitea-8e238058b22adba7cb9e02c5911d45f281a52ee2.zip |
public/ng/css: code fix on #895
- templates/user/settings: fix email panel nav highlight
Diffstat (limited to 'templates')
-rw-r--r-- | templates/user/settings/email.tmpl | 2 | ||||
-rw-r--r-- | templates/user/settings/nav.tmpl | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/user/settings/email.tmpl b/templates/user/settings/email.tmpl index c5dfbeb7e1..c99e6a0415 100644 --- a/templates/user/settings/email.tmpl +++ b/templates/user/settings/email.tmpl @@ -48,7 +48,7 @@ </p> <p class="field"> <label></label> - <button class="btn btn-green btn-radius" id="email-add-btn">{{.i18n.Tr "settings.add_email"}}</button> + <button class="btn btn-green btn-large btn-radius" id="email-add-btn">{{.i18n.Tr "settings.add_email"}}</button> </p> </form> </div> diff --git a/templates/user/settings/nav.tmpl b/templates/user/settings/nav.tmpl index 780f1218a1..d8003c8ba7 100644 --- a/templates/user/settings/nav.tmpl +++ b/templates/user/settings/nav.tmpl @@ -4,7 +4,7 @@ <ul class="menu menu-vertical switching-list grid-1-5 left"> <li {{if .PageIsSettingsProfile}}class="current"{{end}}><a href="{{AppSubUrl}}/user/settings">{{.i18n.Tr "settings.profile"}}</a></li> <li {{if .PageIsSettingsPassword}}class="current"{{end}}><a href="{{AppSubUrl}}/user/settings/password">{{.i18n.Tr "settings.password"}}</a></li> - <li {{if .PageIsSettingsEmail}}class="current"{{end}}><a href="{{AppSubUrl}}/user/settings/email">{{.i18n.Tr "settings.emails"}}</a></li> + <li {{if .PageIsSettingsEmails}}class="current"{{end}}><a href="{{AppSubUrl}}/user/settings/email">{{.i18n.Tr "settings.emails"}}</a></li> <li {{if .PageIsSettingsSSHKeys}}class="current"{{end}}><a href="{{AppSubUrl}}/user/settings/ssh">{{.i18n.Tr "settings.ssh_keys"}}</a></li> <li {{if .PageIsSettingsSocial}}class="current"{{end}}><a href="{{AppSubUrl}}/user/settings/social">{{.i18n.Tr "settings.social"}}</a></li> <li {{if .PageIsSettingsApplications}}class="current"{{end}}><a href="{{AppSubUrl}}/user/settings/applications">{{.i18n.Tr "settings.applications"}}</a></li> |