Files
notifications-admin/app/templates/views/notification.html
Chris Hill-Scott 85b0b4af21 Replace message_status component with banner
Message status was almost identical to banner, visually and semantically.
This consolidates the two into one component.

This means adding an extra parameter which controls whether or not the banner
has a tick (with and without a tick are the only two variations currently).
2016-01-11 14:27:31 +00:00

34 lines
773 B
HTML

{% extends "withnav_template.html" %}
{% from "components/sms-message.html" import sms_message, message_status %}
{% from "components/banner.html" import banner %}
{% from "components/page-footer.html" import page_footer %}
{% block page_title %}
GOV.UK Notify | Notifications activity
{% endblock %}
{% block maincolumn_content %}
<h1 class="heading-large">
Text message
</h1>
<div class="grid-row">
<div class="column-two-thirds">
{{ sms_message(message.message, message.phone) }}
</div>
<div class="column-one-third">
{{ banner(
"{} {}".format(message.status, delivered_at)
) }}
</div>
</div>
{{ page_footer(
back_link = url_for('.showjob'),
back_link_text = 'View other messages in this job'
) }}
{% endblock %}