{% extends "config/base.html" %} {% import "site_shell/_macros.html" as ui %} {% block title %}Notifications - Pychestrate Configuration{% endblock %} {% block content %}
Be told when a run fails or completes. A channel is where messages go; a rule says which event sends a message through which channel. {{ ui.learn_more("16-00-running-and-reading-work", "be-told-when-a-run-fails") }}
| Name | Type | Used by | State | Last message | Actions |
|---|---|---|---|---|---|
| {{ row.name }}
{% if row.unprotected %} Secret stored unprotected{% endif %} |
{{ row.kind_label }} | {{ row.scope_label }} | {{ ui.status_badge(row.state) }} | {% if row.last_outcome %}{{ ui.status_badge(row.last_outcome) }} {{ row.last_when | format_datetime('%Y-%m-%d %H:%M') }}{% else %}Nothing sent yet{% endif %} | Open |
| When | Project | Send through | To | Limit | State | {% if can_manage %}Actions | {% endif %}
|---|---|---|---|---|---|---|
| {{ rule.event_label }} | {{ rule.project }} | {{ rule.channels | join(', ') }} | {{ rule.recipients | join(', ') }} | {% if rule.rate_limit %}{{ rule.rate_limit }} a minute{% else %}No limit{% endif %} | {{ ui.status_badge(rule.state) }} | {% if can_manage %}
|
{% endif %}
| Time | Event | Channel | To | Result | Detail |
|---|---|---|---|---|---|
| {{ row.when | format_datetime('%Y-%m-%d %H:%M:%S') }} | {{ row.event_label }} | {% if row.channel_deleted %}{{ row.channel }}{% else %}{{ row.channel }}{% endif %} | {{ row.recipient }} | {{ ui.status_badge(row.outcome) }} | {{ row.detail if row.detail else '' }} |