mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-06 15:28:25 -04:00
Handle precompiled via in returned letters list
Precompiled letters sent via the API don’t have: - a template - a filename Which means in the list of returned letters we just show ‘None’. This commit changes this to ‘Provided as PDF’, which is how we talk about precompiled letters elsewhere (for example in the template statistics on the dashboard).
This commit is contained in:
@@ -28,7 +28,7 @@
|
||||
field_headings_visible=False
|
||||
) %}
|
||||
{% call field() %}
|
||||
<span class="file-list-filename file-list-filename-unlinked">{{ item.template_name or item.uploaded_letter_file_name }}</span>
|
||||
<span class="file-list-filename file-list-filename-unlinked">{{ item.template_name or item.uploaded_letter_file_name or 'Provided as PDF' }}</span>
|
||||
<span class="file-list-hint">
|
||||
{% if item.client_reference %}
|
||||
Reference {{ item.client_reference }}
|
||||
|
||||
Reference in New Issue
Block a user