From f5b49b16e9adf95ba4c3318e3fa8a89f7d334262 Mon Sep 17 00:00:00 2001 From: Chris Hill-Scott Date: Mon, 19 Jun 2017 17:01:05 +0100 Subject: [PATCH] =?UTF-8?q?Don=E2=80=99t=20link=20to=20=E2=80=98Report?= =?UTF-8?q?=E2=80=99=20jobs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ‘Report’ jobs are what we used to have for one-off messages. The page for a report job doesn’t contain any extra info from what’s on the notification page. We will still have ‘Report’ jobs while we transition to sending one-off messages through the API. So while we still have these jobs, let’s hide any links to them because they’re not useful pages. --- app/templates/views/notifications/notification.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/templates/views/notifications/notification.html b/app/templates/views/notifications/notification.html index 274776b22..aba8beee4 100644 --- a/app/templates/views/notifications/notification.html +++ b/app/templates/views/notifications/notification.html @@ -17,7 +17,7 @@

{{ template.name }} sent - {% if job %} + {% if job and job.original_file_name != 'Report' %} from {{ job.original_file_name }} {% elif created_by %}