{% extends FUNC_BASE_HTML %} {% load i18n %} {% load utils %} {% block css %} {{ block.super }} {% endblock css %} {% block js %} {{ block.super }} {% endblock js %} {% block ajaxform_modified %}{{ block.super }}{% endblock ajaxform_modified %} {% block to_ajaxform %}{% endblock to_ajaxform %} {% block function %}
{% trans "syslogsrv: Please input alert and click apply." %}
{% blocktrans with max=formset.management_form.MAX_NUM_FORMS.value %}syslogsrv: Alert max is {{ max }}.{% endblocktrans %}

{% trans "syslogsrv: If you wont to send alert mail." %}
    {% trans "mailnotice" as mailnotice %}
  1. {% blocktrans with "/admin/system/notice/mail/mailnotice/" as notice_url and mailnotice as notice_title %}syslogsrv: Open "{{ notice_title }}".{% endblocktrans %}
  2. {% trans "syslogsrv: Enable notice." %}
  3. {% trans "syslogsrv: Input settings." %}
  4. {% trans "syslogsrv: Enable system event." %}
  5. {% trans "Apply" as apply_transed %}{% blocktrans with apply_transed as button_name %}syslogsrv: Click "{{ button_name }}".{% endblocktrans %}
{{ formset.management_form }} {% for form in formset %} {% with form.DELETE.value as deleted %}

{{ form.name.value|default:"" }}

{{ form.non_field_errors }}
{{ form.name.label }}({% trans "syslogsrv: required" %}) {% if not deleted %}{{ form.name.errors }}{% endif %} {{ form.name }}
{{ form.facilities.label }} {% if not deleted %}{{ form.facilities.errors }}{% endif %}
{{ form.facilities }}
{{ form.priorities.label }} {% if not deleted %}{{ form.priorities.errors }}{% endif %}
{{ form.priorities }}
{{ form.hostname.label }} {% if not deleted %}{{ form.hostname.errors }}{% endif %} {{ form.hostname }}
{{ form.message.label }} {% if not deleted %}{{ form.message.errors }}{% endif %} {{ form.message }}
{% endwith %} {% endfor %}

{% endblock function %}