{% extends "base_project.html" %} {% load compress humanize static hc_extras %} {% block title %}Integrations - {{ site_name }}{% endblock %} {% block content %}
{% if messages %}
{% for message in messages %}

{{ message }}

{% endfor %}
{% endif %}
{% if channels %} {% for ch in channels %} {% endfor %}
Name, Details Assigned Checks Status Last Notification
{{ ch.get_kind_display }}
{% if ch.name %} {{ ch.name }} {% else %}
unnamed
{% endif %}
{% include "front/channel_description.html" with ch=ch %}
{{ ch.n_checks }} check{{ ch.n_checks|pluralize }}
{% if ch.disabled %} Disabled {% elif ch.kind == "email" and not ch.email_verified %} Unconfirmed {% elif ch.kind == "hipchat" or ch.kind == "pagerteam" %} Retired {% else %} Ready to deliver {% endif %} {% if ch.last_notify %} {% if ch.last_error %} Failed, {{ ch.last_notify|naturaltime }} {% else %} Delivered, {{ ch.last_notify|naturaltime }} {% endif %} {% else %} Never {% endif %} {% if ch.kind == "sms" or ch.kind == "whatsapp" %}

Used {{ profile.sms_sent_this_month }} of {{ profile.sms_limit }} sends this month.

{% endif %} {% if ch.kind == "call" %}

Used {{ profile.calls_sent_this_month }} of {{ profile.call_limit }} phone calls this month.

{% endif %}
{% if ch.is_editable and rw %} {% if ch.kind == "email" and ch.disabled %}Fix…{% else %}Edit{% endif %} {% endif %}
{% csrf_token %}
{% if rw %} {% endif %}
{% else %}

The project "{{ project }}" does not have any integrations set up yet.

With no configured integrations, {{ site_name }} will not send any notifications when checks change state.

{% endif %} {% if rw %}

Add More

{% endif %}
{% if rw %} {% for ch in channels %} {% endfor %} {% endif %} {% endblock %} {% block scripts %} {% compress js %} {% endcompress %} {% endblock %}