mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-05 10:53:28 -05:00
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).
34 lines
773 B
HTML
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 %}
|