From 26ad94d068f74876eee7c7ec97a460bf197278c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C4=93teris=20Caune?= Date: Mon, 9 Mar 2020 12:57:24 +0200 Subject: [PATCH] If the project has no integrations, show an appropriate message in the Details page, "Notification Methods" section. --- static/css/details.css | 2 +- templates/front/details.html | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/static/css/details.css b/static/css/details.css index 1be8001f..e318d5a1 100644 --- a/static/css/details.css +++ b/static/css/details.css @@ -100,7 +100,7 @@ color: #888; } -.alert.no-events { +.alert.no-events, .alert.no-channels { border: #ddd; background: #F5F5F5; color: #444; diff --git a/templates/front/details.html b/templates/front/details.html index 0f4f9459..e3ecf129 100644 --- a/templates/front/details.html +++ b/templates/front/details.html @@ -191,6 +191,7 @@

Notification Methods

+ {% if channels %} {% for channel in channels %} @@ -206,6 +207,15 @@ {% endfor %}
+ {% else %} +
+ No notification methods set up yet. +
+ Set up your preferred methods of notification in the + Integrations + page. +
+ {% endif %}