2017-08-15 17:04:57 +01:00
|
|
|
{% extends "views/platform-admin/_base_template.html" %}
|
2017-08-08 10:24:54 +01:00
|
|
|
|
2021-12-30 16:13:49 +00:00
|
|
|
{% block per_page_title %}
|
|
|
|
|
Inbound SMS
|
2017-08-08 10:24:54 +01:00
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
|
|
{% set table_headings = {
|
|
|
|
|
'field_headings': [
|
2017-08-15 17:04:57 +01:00
|
|
|
'Number', 'Status', 'Service', 'Created on'
|
2017-08-08 10:24:54 +01:00
|
|
|
],
|
|
|
|
|
'field_headings_visible': True,
|
|
|
|
|
'caption_visible': True
|
|
|
|
|
} %}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.inbound {
|
|
|
|
|
font-style:normal;
|
|
|
|
|
font-weight:normal;
|
|
|
|
|
}
|
|
|
|
|
|
2017-08-15 17:04:57 +01:00
|
|
|
{% block platform_admin_content %}
|
2017-08-08 10:24:54 +01:00
|
|
|
|
2023-08-16 12:49:36 -04:00
|
|
|
<h1 class="font-body-2xl">
|
2020-04-23 11:08:43 +01:00
|
|
|
Inbound SMS
|
|
|
|
|
</h1>
|
2024-07-26 10:38:00 -04:00
|
|
|
<div class="table-overflow-x-auto">
|
2024-07-25 15:36:31 -04:00
|
|
|
<table class="usa-table usa-table--borderless inbound width-full">
|
|
|
|
|
<thead>
|
2017-08-08 10:24:54 +01:00
|
|
|
<tr>
|
2024-07-25 15:36:31 -04:00
|
|
|
<th>{{table_headings.field_headings[0]}}</th>
|
|
|
|
|
<th>{{table_headings.field_headings[1]}}</th>
|
|
|
|
|
<th>{{table_headings.field_headings[2]}}</th>
|
2017-08-08 10:24:54 +01:00
|
|
|
</tr>
|
2024-07-25 15:36:31 -04:00
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
|
|
|
|
{% for value in inbound_num_list.data: %}
|
|
|
|
|
<tr>
|
|
|
|
|
<td>{{value.number}}</td>
|
|
|
|
|
<td>
|
|
|
|
|
{% if value.active %}
|
|
|
|
|
Active
|
|
|
|
|
{% elif not value.service.name %}
|
|
|
|
|
Not used
|
|
|
|
|
{% else %}
|
|
|
|
|
Inactive
|
|
|
|
|
{% endif %}
|
|
|
|
|
</td>
|
|
|
|
|
<td>
|
|
|
|
|
<a href="{{ url_for('main.service_dashboard', service_id=value.service.id) }}" class="usa-link bold">{{ value.service.name }}</a>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
{% endfor %}
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
|
|
|
|
</div>
|
2019-12-11 15:29:50 +00:00
|
|
|
{% endblock %}
|