bench-forgejo/templates/user/active.tmpl

27 lines
1.3 KiB
Cheetah
Raw Normal View History

2014-03-19 18:54:02 +05:30
{{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">
2014-03-19 18:59:58 +05:30
<h3>Activate Your Account</h3>
2014-03-19 18:54:02 +05:30
{{if .IsActivatePage}}
2014-03-19 20:16:48 +05:30
{{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>
{{end}}
2014-03-19 18:54:02 +05:30
{{else}}
2014-03-19 20:16:48 +05:30
{{if .IsSendRegisterMail}}
<p>A confirmation e-mail has been sent to <b>{{.Email}}</b>, please check your inbox within {{.Hours}} hours.</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/>
<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 18:54:02 +05:30
</div>
2014-03-19 20:16:48 +05:30
{{end}}
2014-03-19 18:54:02 +05:30
{{end}}
</form>
</div>
{{template "base/footer" .}}