Files
notifications-admin/app/templates/views/service-settings/email-reply-to/verify.html
T
Pea Tyczynska 6cf9959058 Stop AJAX when success or failure and show form on failure
AJAX requests stop on success or failure, as the waiting page
does not have to referesh any longer.

Also on failure a form that allows user to try again
is shown.
2019-05-23 15:34:25 +01:00

26 lines
882 B
HTML

{% extends "withnav_template.html" %}
{% from "components/textbox.html" import textbox %}
{% from "components/checkbox.html" import checkbox %}
{% from "components/page-header.html" import page_header %}
{% from "components/page-footer.html" import page_footer %}
{% from "components/form.html" import form_wrapper %}
{% from "components/ajax-block.html" import ajax_block %}
{% block service_page_title %}
{{ verb }} email reply-to address
{% endblock %}
{% block maincolumn_content %}
{{ page_header(
'{} email reply-to address'.format(verb),
back_link=url_for('main.service_add_email_reply_to', service_id=current_service.id)
) }}
{{ ajax_block(
partials,
url_for('main.service_verify_reply_to_address_updates', service_id=service_id, notification_id=notification_id) + request_args,
'status',
finished=finished
) }}
{% endblock %}