mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-20 14:29:51 -04:00
update table columns
This commit is contained in:
@@ -87,7 +87,6 @@
|
|||||||
<th scope="col" role="columnheader">Usage</th>
|
<th scope="col" role="columnheader">Usage</th>
|
||||||
<th scope="col" role="columnheader">Primary Contact</th>
|
<th scope="col" role="columnheader">Primary Contact</th>
|
||||||
<th scope="col" role="columnheader">Recent Template Used</th>
|
<th scope="col" role="columnheader">Recent Template Used</th>
|
||||||
<th scope="col" role="columnheader">Created</th>
|
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
@@ -107,12 +106,11 @@
|
|||||||
<td>{{ service.usage|default('N/A') }}</td>
|
<td>{{ service.usage|default('N/A') }}</td>
|
||||||
<td>{{ service.primary_contact|default('N/A') }}</td>
|
<td>{{ service.primary_contact|default('N/A') }}</td>
|
||||||
<td>{{ service.recent_template|default('N/A') }}</td>
|
<td>{{ service.recent_template|default('N/A') }}</td>
|
||||||
<td>{{ service.created_at|format_date_normal if service.created_at else 'N/A' }}</td>
|
|
||||||
</tr>
|
</tr>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% else %}
|
{% else %}
|
||||||
<tr>
|
<tr>
|
||||||
<td colspan="6" class="table-empty-message">No services found within this organization</td>
|
<td colspan="5" class="table-empty-message">No services found within this organization</td>
|
||||||
</tr>
|
</tr>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</tbody>
|
</tbody>
|
||||||
|
|||||||
@@ -1594,7 +1594,6 @@ def test_organization_dashboard_shows_service_counts(
|
|||||||
"sms_cost": 25.50,
|
"sms_cost": 25.50,
|
||||||
"active": True,
|
"active": True,
|
||||||
"restricted": False,
|
"restricted": False,
|
||||||
"created_at": "2023-01-15 10:30:00",
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"service_id": "2",
|
"service_id": "2",
|
||||||
@@ -1605,7 +1604,6 @@ def test_organization_dashboard_shows_service_counts(
|
|||||||
"sms_cost": 0,
|
"sms_cost": 0,
|
||||||
"active": True,
|
"active": True,
|
||||||
"restricted": True,
|
"restricted": True,
|
||||||
"created_at": "2023-02-20 14:00:00",
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"service_id": "3",
|
"service_id": "3",
|
||||||
@@ -1616,7 +1614,6 @@ def test_organization_dashboard_shows_service_counts(
|
|||||||
"sms_cost": 0,
|
"sms_cost": 0,
|
||||||
"active": False,
|
"active": False,
|
||||||
"restricted": False,
|
"restricted": False,
|
||||||
"created_at": "2023-03-10 09:15:00",
|
|
||||||
},
|
},
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@@ -1673,7 +1670,6 @@ def test_organization_dashboard_services_table_shows_usage(
|
|||||||
"sms_cost": 42.75,
|
"sms_cost": 42.75,
|
||||||
"active": True,
|
"active": True,
|
||||||
"restricted": False,
|
"restricted": False,
|
||||||
"created_at": "2023-01-15 10:30:00",
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"service_id": "2",
|
"service_id": "2",
|
||||||
@@ -1684,7 +1680,6 @@ def test_organization_dashboard_services_table_shows_usage(
|
|||||||
"sms_cost": 0,
|
"sms_cost": 0,
|
||||||
"active": True,
|
"active": True,
|
||||||
"restricted": True,
|
"restricted": True,
|
||||||
"created_at": "2023-02-20 14:00:00",
|
|
||||||
},
|
},
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user