Add captions to tables

Co-authored-by: Tom Byers <tombaromba@gmail.com>
This commit is contained in:
Chris Hill-Scott
2021-03-12 16:18:55 +00:00
parent 67316df3aa
commit f7989b84cb
2 changed files with 6 additions and 0 deletions

View File

@@ -55,6 +55,7 @@
<div class="dashboard-table">
{% call(item, row_number) list_table(
notifications_by_type,
caption='Messages sent since May 2016',
caption_visible=False,
field_headings=[
'Date',
@@ -97,6 +98,7 @@
<div class="dashboard-table">
{% call(item, row_number) list_table(
processing_time | reverse,
caption='Messages sent within 10 seconds',
caption_visible=False,
field_headings=[
'Date', 'Percentage'
@@ -133,6 +135,7 @@
<div class="dashboard-table">
{% call(item, row_number) list_table(
organisations_using_notify,
caption='Organisations using Notify',
caption_visible=False,
field_headings=[
'Organisation', 'Number of live services'

View File

@@ -122,6 +122,7 @@ def test_should_render_performance_page(
'987.7 million text messages '
'1.2 million letters '
''
'Messages sent since May 2016 '
'Date Emails Text messages Letters '
'21 February 2021 1,234,567 123,456 123 '
'22 February 2021 1 2 3 '
@@ -135,6 +136,7 @@ def test_should_render_performance_page(
'Messages sent within 10 seconds '
'Average '
'96.8% on average '
'Messages sent within 10 seconds '
'Date Percentage '
'27 February 2021 98.6% '
'26 February 2021 96.5% '
@@ -148,6 +150,7 @@ def test_should_render_performance_page(
'Organisations using Notify '
'Organisations 111 organisations '
'Services 9,999 services '
'Organisations using Notify '
'Organisation Number of live services '
'Department of Examples and Patterns 2 '
'Department of One Service 1'