{% extends '../layouts/index.html' %} {% block content %}

{% block page_title %} On-call overview {% endblock page_title %}

{% block page_actions %} {% if user.is_authenticated %} Trigger on-call {% endif %} {% endblock page_actions %}
{% if messages %}
{% component "messages" messages=messages %}{% endcomponent %}
{% endif %}

This page shows the current on-call schedule per service.
You can trigger the on-call in any FireFighter incident channel, with /incident oncall.
Last updated: {{ last_updated|date:"SHORT_DATETIME_FORMAT" }}

{% for escalation_policy in oncalls %}

{{ escalation_policy.0.name }} ({{ escalation_policy.1|length }})

    {% for oncall in escalation_policy.1 %}
  • {% component "avatar" user=oncall.pagerduty_user.user %}{% endcomponent %}

    {{ oncall.pagerduty_user.user.full_name }} Level {{ oncall.escalation_level }}

    {% if oncall.end %}

    {{ oncall.end|timeuntil }} left Until

    {% endif %}
  • {% endfor %}
{% empty %}

No on-calls found ⁉️

Please report it to this issue.

{% endfor %}
{% endblock content %}