Files
notifications-admin/app/templates/views/notifications/notification.html
Chris Hill Scott 5a76244d6d Fix page title on individual notification page
Should match `<h1>` on the page.
2017-07-04 14:27:20 +01:00

38 lines
1.2 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 %}
{{ message_count_label(1, template.template_type, suffix='') | capitalize }}
{% endblock %}
{% block maincolumn_content %}
<h1 class="heading-large">
{{ message_count_label(1, template.template_type, suffix='') | capitalize }}
</h1>
<p>
{% if help %}
{{ template.name }}
{% else %}
<a href="{{ url_for('.view_template', service_id=current_service.id, template_id=template.id) }}">{{ template.name }}</a>
{% endif %}
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 %}