mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-26 17:34:11 -05:00
33 lines
No EOL
1.7 KiB
Cheetah
33 lines
No EOL
1.7 KiB
Cheetah
{{template "base/head" .}}
|
|
{{template "base/navbar" .}}
|
|
<div id="gogs-body" class="container">
|
|
<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 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 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/>
|
|
<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>
|
|
</div>
|
|
{{end}}
|
|
{{end}}
|
|
</form>
|
|
</div>
|
|
{{template "base/footer" .}} |