2017-08-15 17:04:57 +01:00
|
|
|
{% extends "views/platform-admin/_base_template.html" %}
|
2017-08-08 10:24:54 +01:00
|
|
|
|
|
|
|
|
{% block service_page_title %}
|
|
|
|
|
Inbound Numbers
|
|
|
|
|
{% 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
|
|
|
|
2020-04-23 11:08:43 +01:00
|
|
|
<h1 class="heading-medium">
|
|
|
|
|
Inbound SMS
|
|
|
|
|
</h1>
|
2017-08-15 17:04:57 +01:00
|
|
|
|
2017-08-08 10:24:54 +01:00
|
|
|
<table class="inbound">
|
|
|
|
|
<col style="width:8%">
|
|
|
|
|
<col style="width:20%">
|
|
|
|
|
<col style="width:17%">
|
|
|
|
|
<col style="width:30%">
|
|
|
|
|
<thread>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>{{table_headings.field_headings[0]}}</th>
|
|
|
|
|
<th>{{table_headings.field_headings[1]}}</th>
|
|
|
|
|
<th>{{table_headings.field_headings[2]}}</th>
|
|
|
|
|
</tr>
|
|
|
|
|
</thread>
|
|
|
|
|
<tbody>
|
|
|
|
|
|
|
|
|
|
{% for value in inbound_num_list.data: %}
|
|
|
|
|
<tr>
|
2020-02-19 13:49:29 +00:00
|
|
|
<td>{{value.number}}</td>
|
|
|
|
|
<td>
|
2017-08-08 10:56:55 +01:00
|
|
|
|
2017-08-08 10:24:54 +01:00
|
|
|
{% if value.active %}
|
|
|
|
|
Active
|
2017-08-08 10:56:55 +01:00
|
|
|
{% elif not value.service.name %}
|
|
|
|
|
Not used
|
|
|
|
|
{% else %}
|
|
|
|
|
Inactive
|
2017-08-08 10:24:54 +01:00
|
|
|
{% endif %}
|
2020-02-19 13:49:29 +00:00
|
|
|
</td>
|
|
|
|
|
<td>
|
|
|
|
|
<a href="{{ url_for('main.service_dashboard', service_id=value.service.id) }}" class="govuk-link govuk-link--no-visited-state govuk-!-font-size-24 govuk-!-font-weight-bold">{{ value.service.name }}</a>
|
|
|
|
|
</td>
|
2017-08-08 10:24:54 +01:00
|
|
|
</tr>
|
|
|
|
|
{% endfor %}
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
|
|
|
|
|
2019-12-11 15:29:50 +00:00
|
|
|
{% endblock %}
|