diff options
author | Unknown <joe2010xtmf@163.com> | 2014-03-19 12:50:44 -0400 |
---|---|---|
committer | Unknown <joe2010xtmf@163.com> | 2014-03-19 12:50:44 -0400 |
commit | 35d473f04ac79990a35499fbf3c4998170e655e1 (patch) | |
tree | fca64b6679336766ffc6965f3f09974c9d3da348 /templates/user | |
parent | c6e12d256833095d76bbb5755261507ecbdaada9 (diff) | |
download | gitea-35d473f04ac79990a35499fbf3c4998170e655e1.tar.gz gitea-35d473f04ac79990a35499fbf3c4998170e655e1.zip |
Finish verify email
Diffstat (limited to 'templates/user')
-rw-r--r-- | templates/user/active.tmpl | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/templates/user/active.tmpl b/templates/user/active.tmpl index 1ee723ee07..fefd7d3aed 100644 --- a/templates/user/active.tmpl +++ b/templates/user/active.tmpl @@ -1,17 +1,23 @@ {{template "base/head" .}} {{template "base/navbar" .}} <div id="gogs-body" class="container"> - <form action="/user/activate" method="post" class="form-horizontal gogs-card" id="gogs-login-card"> + <form action="/user/activate" method="get" class="form-horizontal gogs-card" id="gogs-login-card"> <h3>Activate Your Account</h3> {{if .IsActivatePage}} {{if .ServiceNotEnabled}} <p>Sorry, Register Mail Confirmation has been disabled.</p> {{else}} - <p>New confirmation e-mail has been sent to <b>{{.SignedUser.Email}}</b>, please check your inbox within {{.Hours}} hours.</p> + <p>New confirmation e-mail has been sent to <b>{{.SignedUser.Email}}</b>, please check your inbox within {{.Hours}} hours to complete your registeration.</p> + <hr/> + <a href="http://{{Mail2Domain .SignedUser.Email}}" class="btn btn-lg btn-success">Sign in to your e-mail</a> {{end}} {{else}} {{if .IsSendRegisterMail}} - <p>A confirmation e-mail has been sent to <b>{{.Email}}</b>, please check your inbox within {{.Hours}} hours.</p> + <p>A confirmation e-mail has been sent to <b>{{.Email}}</b>, please check your inbox within {{.Hours}} hours to complete your registeration.</p> + <hr/> + <a href="http://{{Mail2Domain .Email}}" class="btn btn-lg btn-success">Sign in to your e-mail</a> + {{else if .IsActivateFailed}} + <p>Sorry, your confirmation code has been exipired or not valid.</p> {{else}} <p>Hi, {{.SignedUser.Name}}, you have an unconfirmed email address(<b>{{.SignedUser.Email}}</b>). If you haven't received a confirmation e-mail or need to resend a new one, please click botton below.</p> <hr/> |