{% load hc_extras humanize linemode %}{% linemode %} {% if status == "down" %} {% line %}🔴 The check {{ check.name_then_code }} is DOWN.{% endline %} {% if flip.reason %} {% line %}Reason: {{ flip.reason_long }}.{% endline %} {% endif %} {% else %} {% line %}🟢 The check {{ check.name_then_code }} is now UP.{% endline %} {% if flip.down_duration %} {% line %}The downtime lasted {{ flip.down_duration|hc_duration_for_sentence }}.{% endline %} {% endif %} {% endif %} {% endlinemode %}