diff --git a/app/landing/views.py b/app/landing/views.py index 63531be..8efc2f0 100644 --- a/app/landing/views.py +++ b/app/landing/views.py @@ -65,6 +65,12 @@ 'newVirusTestsByPublishDateRollingSum', 'newVirusTestsByPublishDateDirection', + 'newVirusTestsBySpecimenDate', + 'newVirusTestsBySpecimenDateChange', + 'newVirusTestsBySpecimenDateChangePercentage', + 'newVirusTestsBySpecimenDateRollingSum', + 'newVirusTestsBySpecimenDateDirection', + 'transmissionRateMin', 'transmissionRateMax', 'transmissionRateGrowthRateMin', diff --git a/app/templates/html/components/easy_read/testing.html b/app/templates/html/components/easy_read/testing.html index c363fb4..29a8b43 100644 --- a/app/templates/html/components/easy_read/testing.html +++ b/app/templates/html/components/easy_read/testing.html @@ -1,7 +1,7 @@ -{% set latest = ("newVirusTestsByPublishDate" | get_data(data)) %} -{% set change = ("newVirusTestsByPublishDateChange" | get_data(data)) %} -{% set changePercentage = ("newVirusTestsByPublishDateChangePercentage" | get_data(data)) %} -{% set rollingSum = ("newVirusTestsByPublishDateRollingSum" | get_data(data)) %} +{% set latest = ("newVirusTestsBySpecimenDate" | get_data(data)) %} +{% set change = ("newVirusTestsBySpecimenDateChange" | get_data(data)) %} +{% set changePercentage = ("newVirusTestsBySpecimenDateChangePercentage" | get_data(data)) %} +{% set rollingSum = ("newVirusTestsBySpecimenDateRollingSum" | get_data(data)) %}

Testing{% if latest.areaName != "United Kingdom" %} in {{ latest.areaName }}{% endif %}

Testing is where we do a test to see who has coronavirus. Some people are tested more than diff --git a/app/templates/latex/sections/testing.tex b/app/templates/latex/sections/testing.tex index d509671..36a918a 100644 --- a/app/templates/latex/sections/testing.tex +++ b/app/templates/latex/sections/testing.tex @@ -1,7 +1,7 @@ -{% set latest = ("newVirusTestsByPublishDate" | get_data(data)) %} -{% set change = ("newVirusTestsByPublishDateChange" | get_data(data)) %} -{% set changePercentage = ("newVirusTestsByPublishDateChangePercentage" | get_data(data)) %} -{% set rollingSum = ("newVirusTestsByPublishDateRollingSum" | get_data(data)) %} +{% set latest = ("newVirusTestsBySpecimenDate" | get_data(data)) %} +{% set change = ("newVirusTestsBySpecimenDateChange" | get_data(data)) %} +{% set changePercentage = ("newVirusTestsBySpecimenDateChangePercentage" | get_data(data)) %} +{% set rollingSum = ("newVirusTestsBySpecimenDateRollingSum" | get_data(data)) %} \section{Testing{% if latest.areaName != "United Kingdom" %} in {{ latest.areaName | trim_area_name }}{% endif %} }