{{ t('notify.title') }}

{{ t('common.updated', time=now | when) }}
{% if not reachable %} {% include "partials/unreachable.html" %} {% elif problem %}
{{ t('common.error', status=problem.status, detail=problem.detail) }}
{% else %}
{% if notifications.last_error %}{% endif %}
{{ t('notify.state') }}{% if notifications.dormant %}{{ t('notify.dormant') }}{% elif notifications.enabled %}{{ t('notify.on') }}{% else %}{{ t('notify.off') }}{% endif %}
{{ t('notify.to') }}{{ (notifications.to or []) | join(', ') or t('notify.none') }}
{{ t('notify.server') }}{{ notifications.server or t('notify.none') }}
{{ t('notify.last') }}{% if notifications.last_mail %}{{ notifications.last_mail | when }}{% else %}{{ t('notify.never') }}{% endif %}
{{ t('notify.error') }}{{ notifications.last_error }}
{{ t('notify.next') }}{{ notifications.next_digest | when }}
{{ t('notify.waiting') }}{{ notifications.waiting.opened }} opened, {{ notifications.waiting.closed }} closed
{% endif %}