From 57ca75f5bca34666ab0f6164482056e98d67c332 Mon Sep 17 00:00:00 2001 From: Chris Hill-Scott Date: Tue, 31 Dec 2019 10:24:01 +0000 Subject: [PATCH] Add download attribute to link MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This forces the file to download, rather than open in the user’s browser. We do this in other places where we let people download CSV and PDF files. --- app/templates/views/returned-letter-summary.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/templates/views/returned-letter-summary.html b/app/templates/views/returned-letter-summary.html index 5d4f45d91..573069513 100644 --- a/app/templates/views/returned-letter-summary.html +++ b/app/templates/views/returned-letter-summary.html @@ -18,7 +18,7 @@ empty_message='If you have returned letter reports they will be listed here' ) %} {% call field() %} - {{ item.reported_at | format_date_normal }}

{{ item.returned_letter_count}} {{ message_count_label(item.returned_letter_count, 'letter', suffix='')}}