diff options
author | Dave Arter <davea@mysociety.org> | 2017-06-12 12:00:46 +0100 |
---|---|---|
committer | Dave Arter <davea@mysociety.org> | 2017-08-31 13:37:08 +0100 |
commit | 217cc18a47c09120a75668eaf365e8e62171b853 (patch) | |
tree | 9e4fb6d786569c9c682f32477469db6c3a0095d5 /templates | |
parent | abc843d671365365bd3e88441721c39f0bb12ca5 (diff) |
Add SIGNUPS_DISABLED config flag
Diffstat (limited to 'templates')
-rw-r--r-- | templates/web/base/auth/token.html | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/templates/web/base/auth/token.html b/templates/web/base/auth/token.html index a4dedcec3..9a79a5e67 100644 --- a/templates/web/base/auth/token.html +++ b/templates/web/base/auth/token.html @@ -14,8 +14,14 @@ <div class="confirmation-header confirmation-header--inbox"> - <h1>[% loc("Nearly done! Now check your email…") %]</h1> - <p>[% loc("Click the link in our confirmation email to sign in.") %]</p> + [% IF c.config.SIGNUPS_DISABLED %] + <h1>[% loc("Nearly done!") %]</h1> + <p>[% loc("If there's a user associated with the address you entered, we've sent a confirmation email.") %]</p> + <p>[% loc("Click the link in that email to sign in.") %]</p> + [% ELSE %] + <h1>[% loc("Nearly done! Now check your email…") %]</h1> + <p>[% loc("Click the link in our confirmation email to sign in.") %]</p> + [% END %] <p> [% loc("Can’t find our email? Check your spam folder – that’s the solution 99% of the time.") %] |