- Remove the trailing comma from the first line of the "to" field

- Add client_reference to the activity CSV report
- Show the recipient on the CSV report the same way as the view activity page.
This commit is contained in:
Rebecca Law
2020-01-07 15:40:17 +00:00
parent 57b4fa0397
commit f7b3f9b06a
3 changed files with 11 additions and 8 deletions

View File

@@ -19,7 +19,7 @@
{% if item.status in ('pending-virus-check', 'virus-scan-failed') %}
<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.splitlines()[0] }}</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(' ,') }}</a>
{% endif %}
<p class="file-list-hint">
{{ item.preview_of_content }}