1
1
mirror of https://github.com/go-gitea/gitea synced 2024-11-18 16:14:26 +00:00
gitea/templates/user/active.tmpl

36 lines
1.9 KiB
Cheetah
Raw Normal View History

2014-03-19 13:24:02 +00:00
{{template "base/head" .}}
{{template "base/navbar" .}}
<div id="gogs-body" class="container">
2014-03-22 17:44:02 +00:00
<form action="/user/activate" method="post" class="form-horizontal gogs-card" id="gogs-login-card">
{{.CsrfTokenHtml}}
2014-03-19 13:29:58 +00:00
<h3>Activate Your Account</h3>
2014-03-19 13:24:02 +00:00
{{if .IsActivatePage}}
2014-03-19 14:46:48 +00:00
{{if .ServiceNotEnabled}}
<p>Sorry, Register Mail Confirmation has been disabled.</p>
2014-03-21 14:09:57 +00:00
{{else if .ResendLimited}}
<p>Sorry, you are sending activation e-mail too frequently, please wait 3 minutes.</p>
2014-03-19 14:46:48 +00:00
{{else}}
2014-03-19 16:50:44 +00:00
<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>
2014-03-19 14:46:48 +00:00
{{end}}
2014-03-19 13:24:02 +00:00
{{else}}
2014-03-19 14:46:48 +00:00
{{if .IsSendRegisterMail}}
2014-03-19 16:50:44 +00:00
<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>
2014-03-19 14:46:48 +00:00
{{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/>
<div class="form-group">
<div class="col-md-offset-4 col-md-6">
<button type="submit" class="btn btn-lg btn-primary">Click here to resend your active e-mail</button>
</div>
2014-03-19 13:24:02 +00:00
</div>
2014-03-19 14:46:48 +00:00
{{end}}
2014-03-19 13:24:02 +00:00
{{end}}
</form>
</div>
{{template "base/footer" .}}