summaryrefslogtreecommitdiffstats
path: root/templates/user/settings
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-02-21 22:13:47 -0500
committerUnknwon <u@gogs.io>2015-02-21 22:13:47 -0500
commit1654e9ecab3923b7fe5d528fc86c1a549546bd29 (patch)
tree181f3b578e7ec2dddd407f5d8cc74b9078d21dd8 /templates/user/settings
parent065f8d1f561d0529a9e9d155e1aba1255f3d1168 (diff)
downloadgitea-1654e9ecab3923b7fe5d528fc86c1a549546bd29.tar.gz
gitea-1654e9ecab3923b7fe5d528fc86c1a549546bd29.zip
templates/user/settings/emial.tmpl: little fix on UI
- routers/user: little code format - conf/locale: update French locale
Diffstat (limited to 'templates/user/settings')
-rw-r--r--templates/user/settings/email.tmpl6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/user/settings/email.tmpl b/templates/user/settings/email.tmpl
index c99e6a0415..ec152c5d60 100644
--- a/templates/user/settings/email.tmpl
+++ b/templates/user/settings/email.tmpl
@@ -16,7 +16,7 @@
{{range .Emails}}
<li class="email clear">
<div class="email-content left">
- <p><strong>{{.Email}}</strong> {{if .IsPrimary}} <span class="email-primary">{{$.i18n.Tr "settings.primary"}}</span> {{end}}</p>
+ <p><strong>{{.Email}}</strong> {{if .IsPrimary}} <span class="text-red">{{$.i18n.Tr "settings.primary"}}</span> {{end}}</p>
</div>
{{if not .IsPrimary}}
{{if .IsActivated}}
@@ -24,14 +24,14 @@
{{$.CsrfTokenHtml}}
<input name="_method" type="hidden" value="PRIMARY">
<input name="id" type="hidden" value="{{.Id}}">
- <button class="right email-btn btn btn-green btn-radius btn-small">{{$.i18n.Tr "settings.primary_email"}}</button>
+ <button class="right email-btn btn btn-small btn-green btn-radius">{{$.i18n.Tr "settings.primary_email"}}</button>
</form>
{{end}}
<form action="{{AppSubUrl}}/user/settings/email" method="post">
{{$.CsrfTokenHtml}}
<input name="_method" type="hidden" value="DELETE">
<input name="id" type="hidden" value="{{.Id}}">
- <button class="right email-btn btn btn-red btn-radius btn-small">{{$.i18n.Tr "settings.delete_email"}}</button>
+ <button class="right email-btn btn btn-small btn-red btn-radius" style="margin-right: 5px">{{$.i18n.Tr "settings.delete_email"}}</button>
</form>
{{end}}
</li>