mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-27 11:19:21 -04:00
The meta info about a notification (who sent it, when they sent it) won’t ever change, so there’s no need for it to reload it using AJAX. Putting it above the message and under the `<h1>` makes it match how this information is displayed on the job page. On the job page this information is bold, but visually the job page is using too much bold now (nothing is emphasised/differentiated if everything is bold). So this commit also makes this line of info regular on both the notification and job pages.
32 lines
940 B
HTML
32 lines
940 B
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>
|
|
Sent {% if created_by %}by {{ created_by.name }} {% endif %}
|
|
on {{ created_at|format_datetime_short }}
|
|
</p>
|
|
|
|
{{ template|string }}
|
|
|
|
{{ ajax_block(partials, updates_url, 'status', finished=finished) }}
|
|
|
|
{{ page_footer(
|
|
secondary_link=url_for('.view_template', service_id=current_service.id, template_id=template.id),
|
|
secondary_link_text='Back to {}'.format(template.name)
|
|
) }}
|
|
|
|
{% endblock %}
|