Skip to content

Commit

Permalink
Merge pull request #93 from UKHSA-Internal/modify_testing_cards
Browse files Browse the repository at this point in the history
Fix some mistakes in testing layout
  • Loading branch information
adebayoolabintan authored Oct 12, 2023
2 parents 022be3b + 952326b commit 587b720
Showing 1 changed file with 8 additions and 70 deletions.
78 changes: 8 additions & 70 deletions Layouts/testing.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ headlineNumbers:
areaName:
- England

# Virus tests reported - Northern Ireland
# Virus tests reported - Northern Ireland, Scotland and Wales
- caption: Virus tests reported
valueItems:

Expand All @@ -33,39 +33,7 @@ headlineNumbers:
included:
areaName:
- Northern Ireland

# Virus tests reported - Scotland
- caption: Virus tests reported
valueItems:

- label: Total
value: cumVirusTestsByPublishDate
tooltip: Total number of virus tests reported up to {date}

- label: Last 7 days
value: newVirusTestsByPublishDateRollingSum
tooltip: Number of new virus tests reported in the 7 days up to {date}

locationAware:
included:
areaName:
- Scotland

# Virus tests reported - Wales
- caption: Virus tests reported
valueItems:

- label: Total
value: cumVirusTestsByPublishDate
tooltip: Total number of virus tests reported up to {date}

- label: Last 7 days
value: newVirusTestsByPublishDateRollingSum
tooltip: Number of new virus tests reported in the 7 days up to {date}

locationAware:
included:
areaName:
- Wales

# Virus tests reported - for other than 'nation' area types
Expand Down Expand Up @@ -102,24 +70,7 @@ headlineNumbers:
areaname:
- England

# Change from previous 7 days - for Northern Ireland
- caption: Change from previous 7 days
valueItems:

- label: Number
value: newVirusTestsByPublishDateChange
tooltip: Change in number of virus tests reported in the 7 days up to {date} compared with the previous 7 day period.

- label: Percentage
value: newVirusTestsByPublishDateChangePercentage
tooltip: Percentage change in number of virus tests reported in the 7 days up to {date} compared with the previous 7 day period.

locationAware:
included:
areaname:
- England

# Change from previous 7 days - for Scotland
# Change from previous 7 days - for Northern Ireland, Scotland and Wales
- caption: Change from previous 7 days
valueItems:

Expand All @@ -134,23 +85,8 @@ headlineNumbers:
locationAware:
included:
areaname:
- Northern Ireland
- Scotland

# Change from previous 7 days - for Wales
- caption: Change from previous 7 days
valueItems:

- label: Number
value: newVirusTestsByPublishDateChange
tooltip: Change in number of virus tests reported in the 7 days up to {date} compared with the previous 7 day period.

- label: Percentage
value: newVirusTestsByPublishDateChangePercentage
tooltip: Percentage change in number of virus tests reported in the 7 days up to {date} compared with the previous 7 day period.

locationAware:
included:
areaname:
- Wales

# Change from previous 7 days - for other than 'nation' area types
Expand Down Expand Up @@ -182,9 +118,11 @@ cards:
- heading: Virus tests reported
cardType: chart
locationAware:
excluded:
areaType:
- overview
included:
areaName:
- Northern Ireland
- Scotland
- Wales

fullWidth: true
abstract: >
Expand Down

0 comments on commit 587b720

Please sign in to comment.