{% extends "base.html" %} {% block title %}{{ t('system.notices') }}{% endblock %} {% block header %}
{{ t('nav.system_group') }}

{{ t('system.notices') }}

{{ t('system.notices_lead') }}
{% endblock %} {% block content %} {% if msg %}{% endif %}
{% for c in channels %}
{{ c.name | capitalize }}
{% if c.ready %}{{ t('system.ai_on') }}{% else %}{{ t('system.ai_off') }}{% endif %}
{{ c.why }}
{% if c.ready %}
{% endif %}
{% endfor %}
{{ t('system.events') }}
{% for e in events %}{{ e }}{% endfor %}

{{ t('system.notices_sent') }}

{% for n in notices %} {% else %}{% endfor %}
{{ t('system.col_time') }}{{ t('system.channel') }}{{ t('system.event') }} {{ t('system.text') }}{{ t('system.col_result') }}
{{ n.at.astimezone(tz).strftime('%H:%M %d/%m/%Y') }} {{ n.channel }}{{ n.event }} {{ n.text }} {% if n.ok %}{{ t('system.ok') }}{% else %}{{ t('system.error') }}
{{ n.error }}
{% endif %}
{{ t('system.no_rows') }}
{% endblock %}