mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-11 10:28:41 -04:00
821 - removing a few headers and adjusting the tests to accept an empty string
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
{% macro mapping_table(caption='', field_headings=[], field_headings_visible=True, caption_visible=True, equal_length=False) -%}
|
{% macro mapping_table(caption='', field_headings=[], field_headings_visible=True, caption_visible=True, equal_length=False) -%}
|
||||||
<table class="usa-table usa-table--borderless">
|
<table class="usa-table usa-table--borderless width-full">
|
||||||
<caption class="font-body-lg table-heading{{ ' usa-sr-only' if not caption_visible}}">
|
<caption class="font-body-lg table-heading{{ ' usa-sr-only' if not caption_visible}}">
|
||||||
{{ caption }}
|
{{ caption }}
|
||||||
</caption>
|
</caption>
|
||||||
|
|||||||
@@ -14,7 +14,6 @@
|
|||||||
|
|
||||||
{% call mapping_table(
|
{% call mapping_table(
|
||||||
caption='General',
|
caption='General',
|
||||||
field_headings=['Label', 'Value', 'Action'],
|
|
||||||
field_headings_visible=False,
|
field_headings_visible=False,
|
||||||
caption_visible=False
|
caption_visible=False
|
||||||
) %}
|
) %}
|
||||||
|
|||||||
@@ -13,7 +13,6 @@
|
|||||||
<div class="body-copy-table">
|
<div class="body-copy-table">
|
||||||
{% call mapping_table(
|
{% call mapping_table(
|
||||||
caption='Your profile',
|
caption='Your profile',
|
||||||
field_headings=['Label', 'Value', 'Action'],
|
|
||||||
field_headings_visible=False,
|
field_headings_visible=False,
|
||||||
caption_visible=False
|
caption_visible=False
|
||||||
) %}
|
) %}
|
||||||
|
|||||||
@@ -54,7 +54,7 @@ def mock_get_service_settings_page_common(
|
|||||||
(
|
(
|
||||||
create_active_user_with_permissions(),
|
create_active_user_with_permissions(),
|
||||||
[
|
[
|
||||||
"Label Value Action",
|
"",
|
||||||
"Service name Test Service Change service name",
|
"Service name Test Service Change service name",
|
||||||
"Sign-in method Text message code Change sign-in method",
|
"Sign-in method Text message code Change sign-in method",
|
||||||
"Send text messages On Change your settings for sending text messages",
|
"Send text messages On Change your settings for sending text messages",
|
||||||
@@ -66,7 +66,7 @@ def mock_get_service_settings_page_common(
|
|||||||
(
|
(
|
||||||
create_platform_admin_user(),
|
create_platform_admin_user(),
|
||||||
[
|
[
|
||||||
"Label Value Action",
|
"",
|
||||||
"Service name Test Service Change service name",
|
"Service name Test Service Change service name",
|
||||||
"Sign-in method Text message code Change sign-in method",
|
"Sign-in method Text message code Change sign-in method",
|
||||||
"Send text messages On Change your settings for sending text messages",
|
"Send text messages On Change your settings for sending text messages",
|
||||||
|
|||||||
Reference in New Issue
Block a user