Files
notifications-admin/app/templates/views/conversations/conversation.html
Chris Hill-Scott af79c8c878 Add a back link to the conversation page
We must have missed this when adding back links to all the pages.
2020-10-23 10:53:23 +01:00

37 lines
998 B
HTML

{% from "components/ajax-block.html" import ajax_block %}
{% from "components/back-link/macro.njk" import govukBackLink %}
{% extends "withnav_template.html" %}
{% block service_page_title %}
Received text message
{% endblock %}
{% block maincolumn_content %}
<div class="dashboard">
{{ govukBackLink({ "href": url_for("main.inbox", service_id=current_service.id) }) }}
<div class="bottom-gutter js-stick-at-top-when-scrolling">
<h1 class="heading-large govuk-!-margin-top-0">
{{ user_number }}
</h1>
</div>
{{ ajax_block(
partials,
updates_url,
'messages',
) }}
{% if current_user.has_permissions('send_messages') %}
<p class="sms-message-reply-link">
<a class="govuk-link govuk-link--no-visited-state" href="{{ url_for('.conversation_reply', service_id=current_service.id, notification_id=notification_id) }}">Send a text message to this phone number</a>
</p>
{% endif %}
</div>
{% endblock %}