diff --git a/app/assets/sass/uswds/_uswds-theme-custom-styles.scss b/app/assets/sass/uswds/_uswds-theme-custom-styles.scss index ed7b9aa70..6d53a4d04 100644 --- a/app/assets/sass/uswds/_uswds-theme-custom-styles.scss +++ b/app/assets/sass/uswds/_uswds-theme-custom-styles.scss @@ -224,3 +224,8 @@ td.table-empty-message { outline-offset: units(1); } } + +.spark-bar-bar { + font-size: units(3); + background-color: transparent; +} diff --git a/app/templates/components/table.html b/app/templates/components/table.html index 96e110f48..9a02845fc 100644 --- a/app/templates/components/table.html +++ b/app/templates/components/table.html @@ -183,16 +183,14 @@ id=None ) %} {% call field(align='right') %} - {% if id %} - - {% endif %} - {{ '{:,.0f}'.format(count) }} + {{ '{:,.0f}'.format(count) }} + {% if count == 1 -%} + message sent + {% else -%} + messages sent + {% endif %} {% endcall %} diff --git a/tests/app/main/views/test_dashboard.py b/tests/app/main/views/test_dashboard.py index beb7c87e9..e6d5b12ca 100644 --- a/tests/app/main/views/test_dashboard.py +++ b/tests/app/main/views/test_dashboard.py @@ -556,7 +556,8 @@ def test_should_show_monthly_breakdown_of_template_usage( assert ' '.join(table_rows[0].text.split()) == ( 'My first template ' 'Text message template ' - '2' + '2 ' + 'messages sent' ) assert len(table_rows) == len(['October'])