summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorPeter Smit <peter@smitmail.eu>2014-12-22 09:11:30 +0200
committerPeter Smit <peter@smitmail.eu>2014-12-22 09:11:30 +0200
commit21dbcb7c7708c81b9a743ba00a48fe9df8f55587 (patch)
treeb8388119d59792ebd292da3ecb24347815bc4ff9 /templates
parent350e0080e621a825a8a555129d9b7f3bd01131eb (diff)
downloadgitea-21dbcb7c7708c81b9a743ba00a48fe9df8f55587.tar.gz
gitea-21dbcb7c7708c81b9a743ba00a48fe9df8f55587.zip
Create English locale keys for multiple e-mails feature
Also, change all current 'emails' to 'e-mails'. Still todo: some CSS for the user/settings/email page, but that is not my specialty
Diffstat (limited to 'templates')
-rw-r--r--templates/user/settings/email.tmpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/user/settings/email.tmpl b/templates/user/settings/email.tmpl
index 6f2a85a3c5..113c646e5a 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></p>
+ <p><strong>{{.Email}}</strong> {{if .IsPrimary}} <span class="email-primary">Primary</span> {{end}}</p>
</div>
{{if not .IsPrimary}}
{{if .IsActivated}}
@@ -40,7 +40,7 @@
{{.CsrfTokenHtml}}
<p class="panel-header"><strong>{{.i18n.Tr "settings.add_new_email"}}</strong></p>
<p class="field">
- <label class="req" for="email">{{.i18n.Tr "settings.email"}}</label>
+ <label class="req" for="email">{{.i18n.Tr "email"}}</label>
<input class="ipt ipt-radius" id="email" name="email" type="text" required />
</p>
<p class="field">