mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-27 03:09:11 -04:00
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
34 lines
758 B
HTML
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 %}
|