Files
notifications-admin/app/templates/views/conversations/conversation.html
Chris Hill-Scott d9a63c07a9 Refactor user permissions to use args, not list
This makes the interface a bit cleaner and less verbose.
2018-01-16 11:22:57 +00:00

34 lines
787 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 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 %}