mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-26 13:20:54 -05:00
‘Report’ jobs are what we used to have for one-off messages. The page for a report job doesn’t contain any extra info from what’s on the notification page. We will still have ‘Report’ jobs while we transition to sending one-off messages through the API. So while we still have these jobs, let’s hide any links to them because they’re not useful pages.
34 lines
1.1 KiB
HTML
34 lines
1.1 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 and job.original_file_name != 'Report' %}
|
|
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 %}
|