|
14 | 14 | <div class="col-md-10 col-lg-8 col-xl-6 offset-md-1 offset-lg-2 offset-xl-3"> |
15 | 15 | {% include "components/errors.html" %} |
16 | 16 |
|
17 | | - <h5 class="text-center"> |
18 | | - {% trans %}We've sent a confirmation email to your email address.{% endtrans %} |
19 | | - </h5> |
20 | | - |
21 | | - <br> |
22 | | - |
23 | | - <h5 class="text-center"> |
24 | | - {% trans %}Please click the link in that email to confirm your account.{% endtrans %} |
25 | | - </h5> |
26 | | - |
27 | | - <br> |
28 | | - |
29 | | - <h5 class="text-center"> |
30 | | - {% trans %}If the email doesn’t arrive, check your spam folder or contact an administrator to manually verify your account.{% endtrans %} |
31 | | - </h5> |
| 17 | + {% if request.args.get('flow') == "init" %} |
| 18 | + <h5 class="text-center"> |
| 19 | + {% trans %}To send a confirmation email to your email address, please click the button below.{% endtrans %} |
| 20 | + </h5> |
| 21 | + <br> |
| 22 | + <h5 class="text-center"> |
| 23 | + {% trans %}Please click the link in that email to confirm your account.{% endtrans %} |
| 24 | + </h5> |
| 25 | + <h5 class="text-center"> |
| 26 | + {% trans %}If the email doesn’t arrive, check your spam folder or contact an administrator to manually verify your account.{% endtrans %} |
| 27 | + </h5> |
| 28 | + {% else%} |
| 29 | + <h5 class="text-center"> |
| 30 | + {% trans %}We've sent a confirmation email to your email address.{% endtrans %} |
| 31 | + </h5> |
| 32 | + <br> |
| 33 | + <h5 class="text-center"> |
| 34 | + {% trans %}Please click the link in that email to confirm your account.{% endtrans %} |
| 35 | + </h5> |
| 36 | + <h5 class="text-center"> |
| 37 | + {% trans %}If the email doesn’t arrive, check your spam folder or contact an administrator to manually verify your account.{% endtrans %} |
| 38 | + </h5> |
| 39 | + {% endif %} |
32 | 40 |
|
33 | 41 | <hr> |
34 | 42 |
|
35 | 43 | {% with form = Forms.auth.ConfirmForm() %} |
36 | 44 | <form method="POST" action="{{ url_for('auth.confirm') }}"> |
37 | 45 | <div class="row"> |
38 | 46 | <div class="mb-3 col-md-6"> |
39 | | - {{ form.submit(class="btn btn-primary w-100") }} |
| 47 | + {{ form.submit(class="btn btn-primary w-100 p-2") }} |
40 | 48 | </div> |
41 | 49 | <div class="mb-3 col-md-6"> |
42 | | - <a href="{{ url_for('views.settings') }}" class="btn btn-secondary w-100"> |
| 50 | + <a href="{{ url_for('views.settings') }}" class="btn btn-secondary w-100 p-2"> |
43 | 51 | {% trans %}Change Email Address{% endtrans %} |
44 | 52 | </a> |
45 | 53 | </div> |
|
0 commit comments