{% extends 'base.html' %} {% block content %} {% from '_helpers.html' import render_field, render_checkbox_field, render_button, render_ternary_field %} {% from '_common_fields.html' import render_common_settings_form %}
{{ render_field(form.title, placeholder="https://...", required=true, class="m-d") }}
{{ render_field(form.url_match_pattern, class="m-d") }} {{ _('Automatically applies this tag to any watch whose URL matches. Supports wildcards: *example.com* or plain substring: github.com/myorg')|safe }}
{% if matching_watches %}
    {% for w_uuid, w in matching_watches.items() %}
  • {{ w.label }}
  • {% endfor %}
{% endif %}
{{ _('Leave unchecked to use the auto-generated colour based on the tag name.') }}

{{ _('These settings are') }} {{ _('added') }} {{ _('to any existing watch configurations.') }}

{% include "edit/include_subtract.html" %}

{{ _('Text filtering') }}

{% include "edit/text-options.html" %}
{# rendered sub Template #} {% if extra_form_content %}
{{ extra_form_content|safe }}
{% endif %}
{{ render_ternary_field(form.notification_muted, BooleanField=True) }}
{% if 1 %}
{{ render_checkbox_field(form.notification_screenshot) }} {{ _('Use with caution!') }} {{ _('This will easily fill up your email storage quota or flood other storages.') }}
{% endif %}
{% if has_default_notification_urls %}
{{ _('Look out!') }} {{ _('There are') }} {{ _('system-wide notification URLs enabled') }}, {{ _('this form will override notification settings for this watch only') }} ‐ {{ _('an empty Notification URL list here will still send notifications.') }}
{% endif %} {{ _('Use system defaults') }} {{ render_common_settings_form(form, emailprefix, settings_application, extra_notification_token_placeholder_info) }}
{{ render_button(form.save_button) }}
{% endblock %}