Always use "Pager Team" and use more descriptive tagline

This commit is contained in:
Michal Bryc 2019-03-15 16:23:37 -07:00
parent de1369f24e
commit 9b4c4482cb
3 changed files with 4 additions and 4 deletions

View File

@ -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),
),
]

View File

@ -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"),

View File

@ -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" />
<h2>Pager Team</h2>
<p>On-call rotations without limits</p>
<p>On-call scheduling, alerting, and incident tracking.</p>
<a href="{% url 'hc-add-pagerteam' %}" class="btn btn-primary">Add Integration</a>
</li>