diff --git a/app/assets/sass/uswds/_uswds-theme-custom-styles.scss b/app/assets/sass/uswds/_uswds-theme-custom-styles.scss index 897726453..d01270d02 100644 --- a/app/assets/sass/uswds/_uswds-theme-custom-styles.scss +++ b/app/assets/sass/uswds/_uswds-theme-custom-styles.scss @@ -327,6 +327,16 @@ td.table-empty-message { bottom: 0; } +@media (max-width: units('desktop-lg')) { + .table-overflow-x-auto { + overflow-x: auto; + table { + min-width: 768px; + } + } +} + + // Dashboard .dashboard { diff --git a/app/templates/partials/jobs/notifications.html b/app/templates/partials/jobs/notifications.html index 916414756..22173e6bd 100644 --- a/app/templates/partials/jobs/notifications.html +++ b/app/templates/partials/jobs/notifications.html @@ -22,7 +22,7 @@ {% else %} {% if notifications %} -
+
{% endif %} {% if job.still_processing %}

diff --git a/app/templates/partials/notifications/notifications.html b/app/templates/partials/notifications/notifications.html index 686683038..e155fdb1a 100644 --- a/app/templates/partials/notifications/notifications.html +++ b/app/templates/partials/notifications/notifications.html @@ -2,7 +2,7 @@ {% from "components/page-footer.html" import page_footer %}

-
+
{% call(item, row_number) list_table( [notification], diff --git a/app/templates/views/activity/notifications.html b/app/templates/views/activity/notifications.html index a58fa7a27..f099e7f53 100644 --- a/app/templates/views/activity/notifications.html +++ b/app/templates/views/activity/notifications.html @@ -5,7 +5,7 @@
{% if notifications %} -
+
{% endif %} {% call(item, row_number) list_table( diff --git a/app/templates/views/api/callbacks.html b/app/templates/views/api/callbacks.html index cb8b329ea..e0c83cc19 100644 --- a/app/templates/views/api/callbacks.html +++ b/app/templates/views/api/callbacks.html @@ -14,8 +14,8 @@ {% block maincolumn_content %} {{ page_header('Callbacks') }} -
-
+
+
{% call mapping_table( caption='General', field_headings=['Label', 'Value', 'Action'], diff --git a/app/templates/views/check/preview.html b/app/templates/views/check/preview.html index c35876571..2664cbe27 100644 --- a/app/templates/views/check/preview.html +++ b/app/templates/views/check/preview.html @@ -41,7 +41,7 @@
-
+
Note: Only the first 5 rows are displayed here. diff --git a/app/templates/views/dashboard/_jobs.html b/app/templates/views/dashboard/_jobs.html index 4bd521186..41e43d977 100644 --- a/app/templates/views/dashboard/_jobs.html +++ b/app/templates/views/dashboard/_jobs.html @@ -1,6 +1,6 @@ {% from "components/table.html" import list_table, field, right_aligned_field_heading, row_heading %} -
+
{% call(item, row_number) list_table( jobs, diff --git a/app/templates/views/dashboard/all-template-statistics.html b/app/templates/views/dashboard/all-template-statistics.html index 8a07c33a2..a61587e57 100644 --- a/app/templates/views/dashboard/all-template-statistics.html +++ b/app/templates/views/dashboard/all-template-statistics.html @@ -28,7 +28,7 @@ No messages sent

{% else %} -
+
{% call(item, row_number) list_table( month.templates_used, caption=month.name, diff --git a/app/templates/views/dashboard/dashboard.html b/app/templates/views/dashboard/dashboard.html index 5e8c69530..04c1f3b0d 100644 --- a/app/templates/views/dashboard/dashboard.html +++ b/app/templates/views/dashboard/dashboard.html @@ -30,7 +30,7 @@ {{ ajax_block(partials, updates_url, 'template-statistics') }}

Recent Batches

-
+
diff --git a/app/templates/views/dashboard/template-statistics.html b/app/templates/views/dashboard/template-statistics.html index 110550ab3..c70cfac19 100644 --- a/app/templates/views/dashboard/template-statistics.html +++ b/app/templates/views/dashboard/template-statistics.html @@ -2,7 +2,7 @@
{% if template_statistics|length > 1 %} -
+
{% call(item, row_number) list_table( template_statistics, caption="Messages sent by template", diff --git a/app/templates/views/guidance/index.html b/app/templates/views/guidance/index.html index e212adfe5..a7e4d496f 100644 --- a/app/templates/views/guidance/index.html +++ b/app/templates/views/guidance/index.html @@ -162,55 +162,57 @@ location, the flag to receive the content needs to be captured in its own column with a Yes or No (Y/N) flag.

Example

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- Example -
Phone numberFirst nameLast nameSpanishEnglishDateTimeLocation
123-456-7890LuluPraetherNYNovember 2, 20233:25123 Ford Rd.
234-567-8901SelaAppelYNNovember 2, 20234:00123 Ford Rd.
123-456-7890DexterMoseleyNYNovember 2, 20232:00123 Ford Rd.
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Example +
Phone numberFirst nameLast nameSpanishEnglishDateTimeLocation
123-456-7890LuluPraetherNYNovember 2, 20233:25123 Ford Rd.
234-567-8901SelaAppelYNNovember 2, 20234:00123 Ford Rd.
123-456-7890DexterMoseleyNYNovember 2, 20232:00123 Ford Rd.
+
{# Preventing fraud #}

Preventing fraud

diff --git a/app/templates/views/inbound-sms-admin.html b/app/templates/views/inbound-sms-admin.html index f16130405..95e35e369 100644 --- a/app/templates/views/inbound-sms-admin.html +++ b/app/templates/views/inbound-sms-admin.html @@ -23,7 +23,7 @@ Inbound SMS

Inbound SMS

-
+
diff --git a/app/templates/views/message-status.html b/app/templates/views/message-status.html index df8b7c287..76ac9bb6a 100644 --- a/app/templates/views/message-status.html +++ b/app/templates/views/message-status.html @@ -49,7 +49,7 @@

Notify cannot tell you if your users open an email or click on the links in an email. We do not track open rates and click-throughs because there are privacy issues. Tracking emails without asking permission from users could breach General Data Protection Regulations (GDPR).

-->

Text messages

-
+
{% call mapping_table( caption='Message statuses – text messages', field_headings=['Status', 'Description'], diff --git a/app/templates/views/performance.html b/app/templates/views/performance.html index c330c9129..0752cc997 100644 --- a/app/templates/views/performance.html +++ b/app/templates/views/performance.html @@ -44,7 +44,7 @@
-
+
{% call(item, row_number) list_table( notifications_by_type|reverse, caption='Messages sent since May 2023', @@ -82,7 +82,7 @@ ) }}
-
+
{% call(item, row_number) list_table( processing_time | reverse, @@ -122,7 +122,7 @@ using Notify.
-
+
{% call(item, row_number) list_table( organizations_using_notify, diff --git a/app/templates/views/platform-admin/complaints.html b/app/templates/views/platform-admin/complaints.html index 9b4e0b10f..a6955dd90 100644 --- a/app/templates/views/platform-admin/complaints.html +++ b/app/templates/views/platform-admin/complaints.html @@ -13,7 +13,7 @@ Email complaints -
+
{% call(item, row_number) list_table( complaints, caption="Complaints", diff --git a/app/templates/views/platform-admin/services.html b/app/templates/views/platform-admin/services.html index 10acbce31..65f10e281 100644 --- a/app/templates/views/platform-admin/services.html +++ b/app/templates/views/platform-admin/services.html @@ -7,7 +7,7 @@ {% from "components/components/details/macro.njk" import usaDetails %} {% macro services_table(services, caption) %} -
+
{% call(item, row_number) mapping_table( caption=caption, caption_visible=False, diff --git a/app/templates/views/pricing/index.html b/app/templates/views/pricing/index.html index a65f363de..060b19032 100644 --- a/app/templates/views/pricing/index.html +++ b/app/templates/views/pricing/index.html @@ -35,7 +35,7 @@ part.

Calculation of message parts without special characters

-
+
{% call mapping_table( caption='Text message pricing', field_headings=['Message length', 'Charge'], @@ -86,7 +86,7 @@ recipient’s preferred language, but we are aware that, rarely, a phone carrier to be calculated as detailed below.

Calculation of message parts with special characters or non-romanized scripts

{% set accentedChars %} -
+
{% call mapping_table( caption='Accented characters that affect text message charges', field_headings=['Character', 'Description'], @@ -151,7 +151,7 @@ to be calculated as detailed below.

"html": accentedChars }) }} -

+
{% call mapping_table( caption='Pricing for text messages containing accented characters that affect the charges', field_headings=['Message length', 'Charge'], diff --git a/app/templates/views/service-settings.html b/app/templates/views/service-settings.html index 70b40b382..560998685 100644 --- a/app/templates/views/service-settings.html +++ b/app/templates/views/service-settings.html @@ -16,7 +16,7 @@

Settings

-
+
{% call mapping_table( caption='General', diff --git a/app/templates/views/usage.html b/app/templates/views/usage.html index 03fb0a5ce..065bdaa2a 100644 --- a/app/templates/views/usage.html +++ b/app/templates/views/usage.html @@ -70,8 +70,7 @@
#} {% if months %} -
-
+
{% call(item, row_index) list_table( months, caption="Total spend", @@ -122,7 +121,6 @@ {% endcall %}
-
{% endif %}