From 9b4c4482cb717b5c3adc16c91bd5b040a24009a7 Mon Sep 17 00:00:00 2001 From: Michal Bryc Date: Fri, 15 Mar 2019 16:23:37 -0700 Subject: [PATCH] Always use "Pager Team" and use more descriptive tagline --- hc/api/migrations/0059_auto_20190314_1744.py | 2 +- hc/api/models.py | 2 +- templates/front/channels.html | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/hc/api/migrations/0059_auto_20190314_1744.py b/hc/api/migrations/0059_auto_20190314_1744.py index f69704f2..1b88d40c 100644 --- a/hc/api/migrations/0059_auto_20190314_1744.py +++ b/hc/api/migrations/0059_auto_20190314_1744.py @@ -13,6 +13,6 @@ class Migration(migrations.Migration): migrations.AlterField( model_name='channel', name='kind', - field=models.CharField(choices=[('email', 'Email'), ('webhook', 'Webhook'), ('hipchat', 'HipChat'), ('slack', 'Slack'), ('pd', 'PagerDuty'), ('pagertree', 'PagerTree'), ('pagerteam', 'PagerTeam'), ('po', 'Pushover'), ('pushbullet', 'Pushbullet'), ('opsgenie', 'OpsGenie'), ('victorops', 'VictorOps'), ('discord', 'Discord'), ('telegram', 'Telegram'), ('sms', 'SMS'), ('zendesk', 'Zendesk'), ('trello', 'Trello'), ('matrix', 'Matrix')], max_length=20), + field=models.CharField(choices=[('email', 'Email'), ('webhook', 'Webhook'), ('hipchat', 'HipChat'), ('slack', 'Slack'), ('pd', 'PagerDuty'), ('pagertree', 'PagerTree'), ('pagerteam', 'Pager Team'), ('po', 'Pushover'), ('pushbullet', 'Pushbullet'), ('opsgenie', 'OpsGenie'), ('victorops', 'VictorOps'), ('discord', 'Discord'), ('telegram', 'Telegram'), ('sms', 'SMS'), ('zendesk', 'Zendesk'), ('trello', 'Trello'), ('matrix', 'Matrix')], max_length=20), ), ] diff --git a/hc/api/models.py b/hc/api/models.py index 19ddfc3f..002bbc71 100644 --- a/hc/api/models.py +++ b/hc/api/models.py @@ -33,7 +33,7 @@ CHANNEL_KINDS = (("email", "Email"), ("slack", "Slack"), ("pd", "PagerDuty"), ("pagertree", "PagerTree"), - ("pagerteam", "PagerTeam"), + ("pagerteam", "Pager Team"), ("po", "Pushover"), ("pushbullet", "Pushbullet"), ("opsgenie", "OpsGenie"), diff --git a/templates/front/channels.html b/templates/front/channels.html index 31cbc96b..79d7b44e 100644 --- a/templates/front/channels.html +++ b/templates/front/channels.html @@ -48,7 +48,7 @@ {% elif ch.kind == "pagertree" %} PagerTree {% elif ch.kind == "pagerteam" %} - PagerTeam + Pager Team {% elif ch.kind == "opsgenie" %} OpsGenie {% elif ch.kind == "victorops" %} @@ -250,7 +250,7 @@ class="icon" alt="PagerTeam icon" />

Pager Team

-

On-call rotations without limits

+

On-call scheduling, alerting, and incident tracking.

Add Integration