2019-05-20 14:21:57 +01:00
|
|
|
|
{% from "components/banner.html" import banner, banner_wrapper %}
|
2019-05-14 17:53:00 +01:00
|
|
|
|
|
|
|
|
|
|
<div class="ajax-block-container">
|
|
|
|
|
|
{% if verification_status == "pending" %}
|
|
|
|
|
|
<p>
|
2019-05-20 14:21:57 +01:00
|
|
|
|
We’re checking that ‘{{ reply_to_email_address }}’ is a real email address.
|
2019-05-14 17:53:00 +01:00
|
|
|
|
</p>
|
|
|
|
|
|
<p>
|
2019-05-20 14:21:57 +01:00
|
|
|
|
<span class='loading-indicator'>This can take a minute </span>
|
2019-05-14 17:53:00 +01:00
|
|
|
|
</p>
|
|
|
|
|
|
|
|
|
|
|
|
<p>
|
2019-05-16 17:05:55 +01:00
|
|
|
|
<a href="{{ url_for('main.service_verify_reply_to_address', service_id=service_id, notification_id=notification_id) + "?is_default={}".format(is_default) }}"">Refresh</a>
|
2019-05-14 17:53:00 +01:00
|
|
|
|
</p>
|
|
|
|
|
|
{% elif verification_status == "success" %}
|
2019-05-20 14:21:57 +01:00
|
|
|
|
{{ banner("‘{}’ is ready to use".format(reply_to_email_address), type='default', with_tick=True) }}
|
2019-05-14 17:53:00 +01:00
|
|
|
|
{% elif verification_status == "failure" %}
|
2019-05-20 14:21:57 +01:00
|
|
|
|
{% call banner_wrapper(type='dangerous') %}
|
|
|
|
|
|
<h2 class='banner-title' data-module="track-error" data-error-type="reply-to-email-not-working" data-error-label="{{ upload_id }}">
|
|
|
|
|
|
There’s a problem with your reply-to address
|
|
|
|
|
|
</h2>
|
|
|
|
|
|
<p>
|
|
|
|
|
|
We sent an email to ‘{{ reply_to_email_address }}’ but it wasn’t delivered.
|
|
|
|
|
|
</p>
|
|
|
|
|
|
<p>
|
|
|
|
|
|
You can try again, or use a different address.
|
|
|
|
|
|
</p>
|
|
|
|
|
|
{% endcall %}
|
2019-05-14 17:53:00 +01:00
|
|
|
|
<a href={{ url_for('main.service_add_email_reply_to', service_id=service_id) }}>Try again</a>
|
|
|
|
|
|
{% endif %}
|
|
|
|
|
|
</div>
|