{% extends "base.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 %} {% with n=ch.latest_notification %} {% endwith %} {% endfor %} {% endif %}
Name, Details Assigned Checks Status Last Notification
Slack icon
{% if ch.name %} {{ ch.name }} {% else %}
unnamed
{% endif %}
{% if ch.kind == "email" %} Email to {{ ch.value }} {% elif ch.kind == "pd" %} PagerDuty account {{ ch.pd_account }} {% elif ch.kind == "pagertree" %} PagerTree {% elif ch.kind == "opsgenie" %} OpsGenie {% elif ch.kind == "victorops" %} VictorOps {% elif ch.kind == "po" %} Pushover ({{ ch.po_priority }} priority) {% elif ch.kind == "slack" %} Slack {% if ch.slack_team %} team {{ ch.slack_team }}, channel {{ ch.slack_channel }} {% endif %} {% elif ch.kind == "webhook" %} Webhook {% elif ch.kind == "pushbullet" %} Pushbullet {% elif ch.kind == "discord" %} Discord {% elif ch.kind == "telegram" %} Telegram {% if ch.telegram_type == "group" %} chat {{ ch.telegram_name }} {% elif ch.telegram_type == "private" %} user {{ ch.telegram_name }} {% endif %} {% elif ch.kind == "hipchat" %} HipChat {% elif ch.kind == "sms" %} SMS to {{ ch.sms_number }} {% elif ch.kind == "trello" %} Trello board {{ ch.trello_board_list|first }}, list {{ ch.trello_board_list|last }} {% else %} {{ ch.kind }} {% endif %}
{{ ch.n_checks }} checks
{% if ch.kind == "email" and not ch.email_verified %} {% if n and n.error %} Disabled {% else %} Unconfirmed {% endif %} {% else %} Ready to deliver {% endif %} {% if n %} {% if n.error %} Failed, {{ n.created|naturaltime }} {% else %} Delivered, {{ n.created|naturaltime }} {% endif %} {% else %} Never {% endif %} {% if ch.kind == "sms" %}

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

{% endif %}

Add More

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