Browse Source

Always use "Pager Team" and use more descriptive tagline

pull/229/head
Michal Bryc 6 years ago
parent
commit
9b4c4482cb
3 changed files with 4 additions and 4 deletions
  1. +1
    -1
      hc/api/migrations/0059_auto_20190314_1744.py
  2. +1
    -1
      hc/api/models.py
  3. +2
    -2
      templates/front/channels.html

+ 1
- 1
hc/api/migrations/0059_auto_20190314_1744.py View File

@ -13,6 +13,6 @@ class Migration(migrations.Migration):
migrations.AlterField( migrations.AlterField(
model_name='channel', model_name='channel',
name='kind', 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),
), ),
] ]

+ 1
- 1
hc/api/models.py View File

@ -33,7 +33,7 @@ CHANNEL_KINDS = (("email", "Email"),
("slack", "Slack"), ("slack", "Slack"),
("pd", "PagerDuty"), ("pd", "PagerDuty"),
("pagertree", "PagerTree"), ("pagertree", "PagerTree"),
("pagerteam", "PagerTeam"),
("pagerteam", "Pager Team"),
("po", "Pushover"), ("po", "Pushover"),
("pushbullet", "Pushbullet"), ("pushbullet", "Pushbullet"),
("opsgenie", "OpsGenie"), ("opsgenie", "OpsGenie"),


+ 2
- 2
templates/front/channels.html View File

@ -48,7 +48,7 @@
{% elif ch.kind == "pagertree" %} {% elif ch.kind == "pagertree" %}
PagerTree PagerTree
{% elif ch.kind == "pagerteam" %} {% elif ch.kind == "pagerteam" %}
PagerTeam
Pager Team
{% elif ch.kind == "opsgenie" %} {% elif ch.kind == "opsgenie" %}
OpsGenie OpsGenie
{% elif ch.kind == "victorops" %} {% elif ch.kind == "victorops" %}
@ -250,7 +250,7 @@
class="icon" alt="PagerTeam icon" /> class="icon" alt="PagerTeam icon" />
<h2>Pager Team</h2> <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> <a href="{% url 'hc-add-pagerteam' %}" class="btn btn-primary">Add Integration</a>
</li> </li>


Loading…
Cancel
Save