aboutsummaryrefslogtreecommitdiffstats
path: root/templates/web/zurich/auth
diff options
context:
space:
mode:
Diffstat (limited to 'templates/web/zurich/auth')
-rw-r--r--templates/web/zurich/auth/general.html2
-rw-r--r--templates/web/zurich/auth/token.html25
2 files changed, 26 insertions, 1 deletions
diff --git a/templates/web/zurich/auth/general.html b/templates/web/zurich/auth/general.html
index 11c729fde..fd34b79f8 100644
--- a/templates/web/zurich/auth/general.html
+++ b/templates/web/zurich/auth/general.html
@@ -27,7 +27,7 @@ END %]
[% ELSIF sign_in_error %]
<div class="form-error">[% loc('There was a problem with your email/password combination. If you cannot remember your password, or do not have one, please fill in the &lsquo;sign in by email&rsquo; section of the form.') %]</div>
[% END %]
- <input type="email" class="required email" id="email" name="email" value="[% email | html %]" placeholder="[% loc('Your email address') %]">
+ <input type="email" class="required email" id="email" name="email" value="[% email | html %]" placeholder="[% loc('Your email address') %]" autofocus>
<label for="password_sign_in">[% loc('Password (optional)') %]</label>
<div class="form-txt-submit-box">
diff --git a/templates/web/zurich/auth/token.html b/templates/web/zurich/auth/token.html
new file mode 100644
index 000000000..e199691e0
--- /dev/null
+++ b/templates/web/zurich/auth/token.html
@@ -0,0 +1,25 @@
+[% INCLUDE 'header.html', bodyclass = 'fullwidthpage', title = loc('Confirm account') %]
+
+[% IF token_not_found %]
+
+ <div class="confirmation-header confirmation-header--failure">
+
+ <h1>[% loc('We have not been able to confirm your account - sorry.') %]</h1>
+ <p>[% loc('This may be because the link is too old or already used, or the address was not copied correctly.') %]</p>
+
+ </div>
+
+[% ELSE %]
+
+ <div class="confirmation-header confirmation-header--inbox">
+
+ <h1>[% loc('Please check your email') %]</h1>
+ <p>[% loc("We have sent you an email containing a link to confirm your account.") %]</p>
+
+ <p>[% loc("If you use web-based email or have 'junk mail' filters, you may wish to check your bulk/spam mail folders: sometimes, our messages are marked that way.") %]</p>
+
+ </div>
+
+[% END %]
+
+[% INCLUDE 'footer.html' %]