mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-06 12:18:26 -04:00
Merge pull request #3240 from alphagov/recipient-address
Show the first line of the address from the to field.
This commit is contained in:
@@ -17,9 +17,9 @@
|
||||
) %}
|
||||
{% call row_heading() %}
|
||||
{% if item.status in ('pending-virus-check', 'virus-scan-failed') %}
|
||||
<span class="file-list-filename">{{ item.to }}</span>
|
||||
<span class="file-list-filename loading-indicator">Checking</span>
|
||||
{% else %}
|
||||
<a class="file-list-filename" href="{{ url_for('.view_notification', service_id=current_service.id, notification_id=item.id) }}">{{ item.to }}</a>
|
||||
<a class="file-list-filename" href="{{ url_for('.view_notification', service_id=current_service.id, notification_id=item.id) }}">{{ item.to.splitlines()[0].lstrip().rstrip(' ,') if item.to else '' }}</a>
|
||||
{% endif %}
|
||||
<p class="file-list-hint">
|
||||
{{ item.preview_of_content }}
|
||||
|
||||
Reference in New Issue
Block a user