{% 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 %}
