mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-20 22:40:31 -04:00
Remove redundant code from notifications.html
This commit is contained in:
@@ -35,17 +35,11 @@
|
||||
Estimated delivery date: {{ estimated_letter_delivery_date|string|format_date_short }}
|
||||
</p>
|
||||
<p class="bottom-gutter">
|
||||
{% if not error %}
|
||||
<a href="{{ url_for('main.view_letter_notification_as_preview', service_id=current_service.id, notification_id=notification_id, filetype='pdf') }}" download>Download as a PDF</a>
|
||||
{% endif %}
|
||||
<a href="{{ url_for('main.view_letter_notification_as_preview', service_id=current_service.id, notification_id=notification_id, filetype='pdf') }}" download>Download as a PDF</a>
|
||||
</p>
|
||||
{% endif %}
|
||||
|
||||
{% if error %}
|
||||
Error Creating PDF Preview
|
||||
{% else %}
|
||||
{{ template|string }}
|
||||
{% endif %}
|
||||
{{ template|string }}
|
||||
|
||||
{% if template.template_type != 'letter' %}
|
||||
{{ ajax_block(partials, updates_url, 'status', finished=finished) }}
|
||||
|
||||
Reference in New Issue
Block a user