From 5a68fb640f032d19a8db5482be0fc242eaa2cc9e Mon Sep 17 00:00:00 2001 From: Chris Hill-Scott Date: Tue, 6 Mar 2018 10:24:01 +0000 Subject: [PATCH] Show CSV download link for letter jobs --- app/templates/partials/jobs/notifications.html | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/app/templates/partials/jobs/notifications.html b/app/templates/partials/jobs/notifications.html index 5a9c3ffd7..1408e530b 100644 --- a/app/templates/partials/jobs/notifications.html +++ b/app/templates/partials/jobs/notifications.html @@ -24,18 +24,22 @@
{% endif %} - {% if template.template_type != 'letter' %} + {% if template.template_type == 'letter' %} +
+ {% endif %} {% if percentage_complete < 100 %} -

+

Report is {{ "{:.0f}%".format(percentage_complete * 0.99) }} complete…

{% elif notifications %} -

+

Download this report{{ time_left }}

{% endif %} + {% if template.template_type == 'letter' %} +
{% endif %} {% call(item, row_number) list_table(