{%- extends "_layout.html" %} {%- block content %}

{{ hawat_view_title }}


{{ gettext('Reporting settings for group %(item)s', item = item.group.name) }}

{{ gettext('Record created:') }} {{ babel_format_datetime(item.createtime) }} ({{ gettext('before') }} {{ babel_format_timedelta(current_datetime_utc - item.createtime) }})


{% if item.timing and item.timing == 'custom' %} {% endif %}
{{ gettext('Group') }} {{ item.group.name }}
{{ gettext('Reporting mode') }} {{ item.mode | default(gettext('<< default >>'), True) }}
{{ gettext('Report attachments') }} {{ item.attachments | default(gettext('<< default >>'), True) }}
{{ gettext('Target emails') }} {%- if item.emails %} {%- for subitem in item.emails %} {{ subitem }}{%- if not loop.last %} | {%- endif %} {%- endfor %} {%- else %} {{ gettext('<< none >>') }} {%- endif %}
{{ gettext('Report template') }} {{ item.template | default(gettext('<< default >>'), True) }}
{{ gettext('Report locale') }} {{ babel_translate_locale(item.locale, True) | default(gettext('<< default >>'), True) }}
{{ gettext('Mute reporting') }} {%- if item.mute -%} {{ gettext('Enabled') }} {%- else -%} {{ gettext('Disabled') }} {%- endif -%}
{{ gettext('Report redirection') }} {%- if item.redirect -%} {{ gettext('Enabled') }} {%- else -%} {{ gettext('Disabled') }} {%- endif -%}
{{ gettext('Attachment compression') }} {%- if item.compress -%} {{ gettext('Enabled') }} {%- else -%} {{ gettext('Disabled') }} {%- endif -%}
{{ gettext('Reporting timing') }} {{ item.timing | default(gettext('<< default >>'), True) }}
{{ gettext('Custom timing settings') }}
{{ gettext('Severity') }} {{ gettext('Period') }} {{ gettext('Threshold') }} {{ gettext('Relapse') }}
{{ gettext('low') }} {{ get_reporting_interval_name(item.timing_per_lo) }} {{ get_reporting_interval_name(item.timing_thr_lo) }} {{ get_reporting_interval_name(item.timing_rel_lo) }}
{{ gettext('medium') }} {{ get_reporting_interval_name(item.timing_per_md) }} {{ get_reporting_interval_name(item.timing_thr_md) }} {{ get_reporting_interval_name(item.timing_rel_md) }}
{{ gettext('high') }} {{ get_reporting_interval_name(item.timing_per_hi) }} {{ get_reporting_interval_name(item.timing_thr_hi) }} {{ get_reporting_interval_name(item.timing_rel_hi) }}
{{ gettext('critical') }} {{ get_reporting_interval_name(item.timing_per_cr) }} {{ get_reporting_interval_name(item.timing_thr_cr) }} {{ get_reporting_interval_name(item.timing_rel_cr) }}
{%- endblock content %}