Browse Source

Add PagerTeam integration

pull/229/head
Michal Bryc 6 years ago
parent
commit
0adc6497b8
4 changed files with 10 additions and 0 deletions
  1. +1
    -0
      hc/front/urls.py
  2. BIN
      static/img/integrations/pagerteam.png
  3. BIN
      static/img/integrations/setup_pagerteam_1.png
  4. +9
    -0
      templates/front/channels.html

+ 1
- 0
hc/front/urls.py View File

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


BIN
static/img/integrations/pagerteam.png View File

Before After
Width: 133  |  Height: 129  |  Size: 2.1 KiB

BIN
static/img/integrations/setup_pagerteam_1.png View File

Before After
Width: 463  |  Height: 319  |  Size: 38 KiB

+ 9
- 0
templates/front/channels.html View File

@ -243,6 +243,15 @@
<a href="{% url 'hc-add-victorops' %}" class="btn btn-primary">Add Integration</a> <a href="{% url 'hc-add-victorops' %}" class="btn btn-primary">Add Integration</a>
</li> </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 %} {% if enable_discord %}
<li> <li>
<img src="{% static 'img/integrations/discord.png' %}" <img src="{% static 'img/integrations/discord.png' %}"


Loading…
Cancel
Save