{% extends 'base.html' %} {% block content %} {% from '_helpers.html' import render_field, render_button %} {% from '_common_fields.html' import notification_part_render_common_settings_form %}
{{ _('These notifications apply to all web page watches, or you can configure them per group or per watch separately.') }}

{{ notification_part_render_common_settings_form(form, emailprefix, settings_application, extra_notification_token_placeholder_info) }}
{#- Error alerts, folded away like "Customise notifications". The same "Add a notification service" as above, adding to this list instead. #}
{{ _('Where to send errors?') }}
{{ _('Alerts about a watch that needs attention (a filter that is no longer on the page, a browser step that could not be run) are sent here.') }}
{{ _('Leave empty to send them wherever the notifications of that watch go.') }}
{% with ns_suffix='-errors', ns_target='textarea.notification-errors-urls' %} {% include '_common_fields-notification.html' %} {% endwith %}
{{ render_field(form.notification_errors_urls, rows=3, class="notification-errors-urls") }}
{{ render_field(form.base_url, class="m-d") }} {# TRANSLATORS: FIXME: fragment msgids (#4074) #} {{ _('Base URL used for the') }} {{ '{{ base_url }}' }} {{ _('token in notification links.') }}
{{ _('Default value is the system environment variable') }} 'BASE_URL' - {{ _('read more here') }}.
{{ render_button(form.save_button) }} {{ _('Back to settings') }}
{% endblock %}