Files
notifications-admin/app/templates/views/conversations/conversation.html
Leo Hemsted 4a08cf81e7 remove admin_override from all has_permissions usage
as previously pointed out, it's not used anywhere.
2018-03-06 13:08:07 +00:00

34 lines
769 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_messages') %}
<p class="sms-message-reply-link">
<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 %}