remove antivirus code (email does not allow attachments via ui)

This commit is contained in:
stvnrlly
2022-12-05 16:35:46 -05:00
parent 36e0e67afc
commit 420845fac7
15 changed files with 23 additions and 47 deletions

View File

@@ -16,11 +16,7 @@
field_headings_visible=False
) %}
{% call row_heading() %}
{% if item.status in ('pending-virus-check', 'virus-scan-failed') %}
<span class="file-list-filename loading-indicator">Checking</span>
{% else %}
<a class="govuk-link govuk-link--no-visited-state file-list-filename" href="{{ single_notification_url(notification_id=item.id) }}">{{ item.to.splitlines()|join(', ') if item.to else '' }}</a>
{% endif %}
<a class="govuk-link govuk-link--no-visited-state file-list-filename" href="{{ single_notification_url(notification_id=item.id) }}">{{ item.to.splitlines()|join(', ') if item.to else '' }}</a>
<p class="file-list-hint">
{{ item.preview_of_content }}
</p>