Add PagerTeam integration

This commit is contained in:
Michal Bryc 2019-03-12 20:38:40 -07:00
parent 945a66ab0a
commit 0adc6497b8
4 changed files with 10 additions and 0 deletions

View File

@ -40,6 +40,7 @@ channel_urls = [
path('<uuid:code>/checks/', views.channel_checks, name="hc-channel-checks"),
path('<uuid:code>/name/', views.update_channel_name, name="hc-channel-name"),
path('<uuid:code>/remove/', views.remove_channel, name="hc-remove-channel"),
path('add_pagerteam/', views.add_pagertree, name="hc-add-pagerteam"),
path('<uuid:code>/verify/<slug:token>/', views.verify_email,
name="hc-verify-email"),
path('<uuid:code>/unsub/<slug:token>/', views.unsubscribe_email,

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

View File

@ -243,6 +243,15 @@
<a href="{% url 'hc-add-victorops' %}" class="btn btn-primary">Add Integration</a>
</li>
<li>
<img src="{% static 'img/integrations/pagerteam.png' %}"
class="icon" alt="PagerTeam icon" />
<h2>Pager Team</h2>
<p>On-call rotations without limits</p>
<a href="{% url 'hc-add-pagerteam' %}" class="btn btn-primary">Add Integration</a>
</li>
{% if enable_discord %}
<li>
<img src="{% static 'img/integrations/discord.png' %}"