mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-11 09:28:27 -04:00
If a notification has been sent from a job then that’s important context to know about it. So we should surface that information on the page. It also gives users an easy way of going back, if that’s the page they’ve come from.
34 lines
1.0 KiB
HTML
34 lines
1.0 KiB
HTML
{% extends "withnav_template.html" %}
|
|
{% from "components/banner.html" import banner %}
|
|
{% from "components/ajax-block.html" import ajax_block %}
|
|
{% from "components/message-count-label.html" import message_count_label %}
|
|
{% from "components/page-footer.html" import page_footer %}
|
|
|
|
{% block service_page_title %}
|
|
Report
|
|
{% endblock %}
|
|
|
|
{% block maincolumn_content %}
|
|
|
|
<h1 class="heading-large">
|
|
{{ message_count_label(1, template.template_type, suffix='') | capitalize }}
|
|
</h1>
|
|
|
|
<p>
|
|
<a href="{{ url_for('.view_template', service_id=current_service.id, template_id=template.id) }}">{{ template.name }}</a>
|
|
sent
|
|
{% if job %}
|
|
from
|
|
<a href="{{ url_for('.view_job', service_id=current_service.id, job_id=job.id) }}">{{ job.original_file_name }}</a>
|
|
{% elif created_by %}
|
|
by {{ created_by.name }}
|
|
{% endif %}
|
|
on {{ created_at|format_datetime_short }}
|
|
</p>
|
|
|
|
{{ template|string }}
|
|
|
|
{{ ajax_block(partials, updates_url, 'status', finished=finished) }}
|
|
|
|
{% endblock %}
|