mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-06 09:48:24 -04:00
View to show all inbound sms numbers for the platform admin user.
This commit is contained in:
@@ -1,6 +1,4 @@
|
||||
{% extends "withnav_template.html" %}
|
||||
{% from "components/table.html" import list_table, row, field, hidden_field_heading %}
|
||||
{% from "components/page-footer.html" import page_footer %}
|
||||
{% extends "views/platform-admin/_base_template.html" %}
|
||||
|
||||
{% block service_page_title %}
|
||||
Inbound Numbers
|
||||
@@ -8,7 +6,7 @@ Inbound Numbers
|
||||
|
||||
{% set table_headings = {
|
||||
'field_headings': [
|
||||
'', 'Number', 'Status', 'Service', 'Created on'
|
||||
'Number', 'Status', 'Service', 'Created on'
|
||||
],
|
||||
'field_headings_visible': True,
|
||||
'caption_visible': True
|
||||
@@ -20,7 +18,7 @@ Inbound Numbers
|
||||
font-weight:normal;
|
||||
}
|
||||
|
||||
{% block maincolumn_content %}
|
||||
{% block platform_admin_content %}
|
||||
|
||||
<div class="grid-row bottom-gutter">
|
||||
<div class="column-two-thirds">
|
||||
@@ -31,6 +29,7 @@ Inbound Numbers
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<table class="inbound">
|
||||
<col style="width:8%">
|
||||
<col style="width:20%">
|
||||
@@ -41,14 +40,12 @@ Inbound Numbers
|
||||
<th>{{table_headings.field_headings[0]}}</th>
|
||||
<th>{{table_headings.field_headings[1]}}</th>
|
||||
<th>{{table_headings.field_headings[2]}}</th>
|
||||
<th>{{table_headings.field_headings[3]}}</th>
|
||||
</tr>
|
||||
</thread>
|
||||
<tbody>
|
||||
|
||||
{% for value in inbound_num_list.data: %}
|
||||
<tr>
|
||||
<th style="font-weight:normal;">{{loop.index}}</th>
|
||||
<th style="font-weight:normal;">{{value.number}}</th>
|
||||
<th style="font-weight:normal;">
|
||||
|
||||
|
||||
@@ -17,7 +17,8 @@
|
||||
('Trial mode services', url_for('main.trial_services')),
|
||||
('Providers', url_for('main.view_providers')),
|
||||
('Organisations', url_for('main.organisations')),
|
||||
('Letter jobs', url_for('main.letter_jobs'))
|
||||
('Letter jobs', url_for('main.letter_jobs')),
|
||||
('Inbound SMS numbers', url_for('main.inbound_sms_admin'))
|
||||
] %}
|
||||
<li>
|
||||
<a href="{{ url }}">
|
||||
|
||||
Reference in New Issue
Block a user