aboutsummaryrefslogtreecommitdiffstats
path: root/templates/web/base/auth/token.html
blob: 9a79a5e6705250ef9057f8722d53bcfaf92d8f3d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
[% INCLUDE 'header.html', bodyclass = 'fullwidthpage', title = loc('Confirm account') %]

[% IF token_not_found %]
[%# Shown whenever there's an invalid token, eg while confirming a report or logging in without a password %]

  <div class="confirmation-header confirmation-header--failure">

    <h1>[% loc('Sorry, that wasn&rsquo;t a valid link') %]</h1>
    <p>[% loc('The link might have expired, or maybe you didn&rsquo;t quite copy and paste it correctly.') %]</p>

  </div>

[% ELSE %]

  <div class="confirmation-header confirmation-header--inbox">

    [% 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&hellip;") %]</h1>
        <p>[% loc("Click the link in our confirmation email to sign in.") %]</p>
    [% END %]

    <p>
        [% loc("Can&rsquo;t find our email? Check your spam folder&nbsp;&ndash; that&rsquo;s the solution 99% of the time.") %]
    </p>

  </div>

[% END %]

[% INCLUDE 'footer.html' %]