summaryrefslogtreecommitdiffstats
path: root/templates/user
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-10-31 19:10:44 -0400
committerUnknwon <u@gogs.io>2015-10-31 19:10:44 -0400
commit5cad12470456fce715b9d94681d82bd46864d44c (patch)
treea20029af466564f588328b4b52c8071ce989833a /templates/user
parentfad31ca302e50af8fa2296b26606e3fd9469ebfc (diff)
downloadgitea-5cad12470456fce715b9d94681d82bd46864d44c.tar.gz
gitea-5cad12470456fce715b9d94681d82bd46864d44c.zip
fix #1697
Diffstat (limited to 'templates/user')
-rw-r--r--templates/user/auth/activate.tmpl8
-rw-r--r--templates/user/auth/forgot_passwd.tmpl4
2 files changed, 0 insertions, 12 deletions
diff --git a/templates/user/auth/activate.tmpl b/templates/user/auth/activate.tmpl
index caadc4f82b..49419dcf6b 100644
--- a/templates/user/auth/activate.tmpl
+++ b/templates/user/auth/activate.tmpl
@@ -16,18 +16,10 @@
<p class="center">{{.i18n.Tr "auth.resent_limit_prompt"}}</p>
{{else}}
<p>{{.i18n.Tr "auth.confirmation_mail_sent_prompt" .SignedUser.Email .Hours | Str2html}}</p>
- <div class="ui divider"></div>
- <div class="text right">
- <a class="ui green button" href="http://{{Mail2Domain .SignedUser.Email}}">{{.i18n.Tr "auth.sign_in_to_account"}}</a>
- </div>
{{end}}
{{else}}
{{if .IsSendRegisterMail}}
<p>{{.i18n.Tr "auth.confirmation_mail_sent_prompt" .Email .Hours | Str2html}}</p>
- <div class="ui divider"></div>
- <div class="text right">
- <a class="ui green button" href="http://{{Mail2Domain .Email}}">{{.i18n.Tr "auth.sign_in_to_account"}}</a>
- </div>
{{else if .IsActivateFailed}}
<p>{{.i18n.Tr "auth.invalid_code"}}</p>
{{else}}
diff --git a/templates/user/auth/forgot_passwd.tmpl b/templates/user/auth/forgot_passwd.tmpl
index f8f23318c4..de141e67a3 100644
--- a/templates/user/auth/forgot_passwd.tmpl
+++ b/templates/user/auth/forgot_passwd.tmpl
@@ -11,10 +11,6 @@
{{template "base/alert" .}}
{{if .IsResetSent}}
<p>{{.i18n.Tr "auth.confirmation_mail_sent_prompt" .Email .Hours | Str2html}}</p>
- <div class="ui divider"></div>
- <div class="text right">
- <a class="ui green button" href="http://{{Mail2Domain .Email}}">{{.i18n.Tr "auth.sign_in_to_account"}}</a>
- </div>
{{else if .IsResetRequest}}
<div class="required inline field {{if .Err_Email}}error{{end}}">
<label for="email">{{.i18n.Tr "email"}}</label>