Files
notifications-admin/app/templates/views/conversations/conversation.html
Chris Hill-Scott 88f169d970 Add a page to pick a template to reply with
If your service is receiving inbound messages, you might want to reply
to them. Without an API integration, the only way to do this is by doing
the send one off flow. But currently there is no direct link from the
page which shows the inbound messages.

So this commit:
- adds a link to a new page…
- …which shows the available (ie only text message) templates with which
  you can reply
2017-10-16 09:33:59 +01:00

34 lines
758 B
HTML

{% from "components/ajax-block.html" import ajax_block %}
{% extends "withnav_template.html" %}
{% block service_page_title %}
{{ user_number }}
{% endblock %}
{% block maincolumn_content %}
<div class="dashboard">
<div class="bottom-gutter js-stick-at-top-when-scrolling">
<h1 class="heading-large">
{{ user_number }}
</h1>
</div>
{{ ajax_block(
partials,
updates_url,
'messages',
) }}
{% if current_user.has_permissions(['send_texts'], admin_override=True) %}
<p>
<a 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 %}