mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-23 07:46:23 -04:00
remove antivirus code (email does not allow attachments via ui)
This commit is contained in:
@@ -147,7 +147,7 @@
|
||||
|
||||
{% macro notification_status_field(notification) %}
|
||||
|
||||
{% set displayed_on_single_line = notification.status in ['created', 'pending', 'pending-virus-check', 'sending', 'delivered', 'accepted', 'received'] %}
|
||||
{% set displayed_on_single_line = notification.status in ['created', 'pending', 'sending', 'delivered', 'accepted', 'received'] %}
|
||||
|
||||
{% if not notification %}
|
||||
{% call field(align='right') %}{% endcall %}
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -74,9 +74,7 @@
|
||||
<dd class="api-notifications-item__data-value">{{ notification[key] }}</dd>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% if notification.status not in ('pending-virus-check', 'virus-scan-failed') %}
|
||||
<a class="govuk-link govuk-link--no-visited-state" href="{{ url_for('.view_notification', service_id=current_service.id, notification_id=notification.id) }}">View {{ 1|message_count_label(notification.template.template_type, suffix='') }}</a>
|
||||
{% endif %}
|
||||
<a class="govuk-link govuk-link--no-visited-state" href="{{ url_for('.view_notification', service_id=current_service.id, notification_id=notification.id) }}">View {{ 1|message_count_label(notification.template.template_type, suffix='') }}</a>
|
||||
</dl>
|
||||
</div>
|
||||
</details>
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
</p>
|
||||
|
||||
<p class="govuk-body">
|
||||
There are other pages on US Notifywhere you can get help:
|
||||
There are other pages on US Notify where you can get help:
|
||||
</p>
|
||||
|
||||
<h2 class="govuk-heading-m govuk-!-margin-bottom-1">
|
||||
|
||||
Reference in New Issue
Block a user