From a964417555261b4d6e6ed8eaa8b8d387024a5aaa Mon Sep 17 00:00:00 2001 From: Chris Hill-Scott Date: Mon, 19 Jun 2017 14:32:50 +0100 Subject: [PATCH] Show recipient on notification page Since we removed the notifications table from this page we need a different way of showing who the message was sent to. Our `Template` classes already have a way of doing this, and we have a flag to switch this on (which is what this PR changes). --- app/main/views/notifications.py | 1 + 1 file changed, 1 insertion(+) diff --git a/app/main/views/notifications.py b/app/main/views/notifications.py index 29f5bda5f..f7af4bdf4 100644 --- a/app/main/views/notifications.py +++ b/app/main/views/notifications.py @@ -58,6 +58,7 @@ def view_notification(service_id, notification_id): version=notification['template_version'], filetype='png', ), + show_recipient=True, ), updates_url=url_for( ".view_notification_updates",