mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-19 05:53:51 -04:00
This shows the sanitised letter preview if the file had no validation errors or the preview with the overlay if it failed validation.
24 lines
582 B
HTML
24 lines
582 B
HTML
{% extends "withnav_template.html" %}
|
|
{% from "components/page-header.html" import page_header %}
|
|
|
|
{% block service_page_title %}
|
|
{{ original_filename }}
|
|
{% endblock %}
|
|
|
|
{% block maincolumn_content %}
|
|
{{ page_header(
|
|
original_filename,
|
|
back_link=url_for('main.upload_letter', service_id=current_service.id)
|
|
) }}
|
|
|
|
{% if status == 'invalid' %}
|
|
<p class="notification-status-cancelled" id="validation-error-message">
|
|
Validation failed
|
|
</p>
|
|
{% endif %}
|
|
|
|
<div class="letter-sent">
|
|
{{ template|string }}
|
|
</div>
|
|
{% endblock %}
|