From 1b513c0802769cb9241f57437b720ef63da7a785 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C4=93teris=20Caune?= Date: Sun, 21 Nov 2021 13:23:43 +0200 Subject: [PATCH] Add "View on site_name" link in Pushover notifications --- hc/api/transports.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hc/api/transports.py b/hc/api/transports.py index 619c38e6..801d75a8 100644 --- a/hc/api/transports.py +++ b/hc/api/transports.py @@ -419,6 +419,8 @@ class Pushover(HttpTransport): "html": 1, "priority": int(prio), "tags": check.unique_key, + "url": check.cloaked_url(), + "url_title": f"View on {settings.SITE_NAME}", } # Emergency notification