diff --git a/app/templates/views/api/index.html b/app/templates/views/api/index.html index 394af879b..0fe91f2a3 100644 --- a/app/templates/views/api/index.html +++ b/app/templates/views/api/index.html @@ -66,10 +66,12 @@
{% for key in [ - 'id', 'notification_type', 'created_at', 'updated_at', 'sent_at', 'status' + 'id', 'client_reference', 'notification_type', 'created_at', 'updated_at', 'sent_at', 'status' ] %} -
{{ key }}:
-
{{ notification[key] }}
+ {% if notification[key] %} +
{{ key }}:
+
{{ notification[key] }}
+ {% endif %} {% endfor %} {% if notification['notification_type'] == 'letter' %} View letter diff --git a/app/templates/views/notifications/notification.html b/app/templates/views/notifications/notification.html index d4dd3afee..4c488bf2c 100644 --- a/app/templates/views/notifications/notification.html +++ b/app/templates/views/notifications/notification.html @@ -16,7 +16,7 @@

{% if is_precompiled_letter %} - Provided as PDF. Sent + Provided as PDF, sent {% else %} {% if help %} {{ template.name }}