From fc650e120756650fd64baeba02673903d3b2c4ec Mon Sep 17 00:00:00 2001 From: Benedikt Bastin Date: Fri, 7 May 2021 14:02:48 +0200 Subject: [PATCH] fix: Added data about second vaccinations to data-text --- dashboard_template.xhtml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dashboard_template.xhtml b/dashboard_template.xhtml index 836d293..946337c 100644 --- a/dashboard_template.xhtml +++ b/dashboard_template.xhtml @@ -22,6 +22,8 @@

Gestern wurden {{ '{:n}'.format(data_first_vaccination.vaccinations_last_day).replace('.', ' ') }} Erstimpfungen vorgenommen ({{ '{:.3n}'.format(data_first_vaccination.vaccinations_last_day_percentage) }} % der Bevölkerung, {{ '{:.3n}'.format(data_first_vaccination.vaccinations_last_day_vaccination_percentage) }} % der verabreichten Erstimpfdosen). Innerhalb der letzten Kalenderwoche sind {{ '{:.9n}'.format(data_first_vaccination.vaccinations_last_week).replace('.', ' ') }} Erstimpfungen erfolgt ({{ '{:.3n}'.format(data_first_vaccination.vaccinations_last_week_percentage) }} %, {{ '{:.3n}'.format(data_first_vaccination.vaccinations_last_week_vaccination_percentage) }} %). + Es wurden außerdem {{ '{:n}'.format(data_second_vaccination.vaccinations_last_day).replace('.', ' ') }} Zweitimpfungen vorgenommen ({{ '{:.3n}'.format(data_second_vaccination.vaccinations_last_day_percentage) }} % der Bevölkerung, {{ '{:.3n}'.format(data_second_vaccination.vaccinations_last_day_vaccination_percentage) }} % der verabreichten Erstimpfdosen). + Innerhalb der letzten Kalenderwoche sind {{ '{:.9n}'.format(data_second_vaccination.vaccinations_last_week).replace('.', ' ') }} Zweitimpfungen erfolgt ({{ '{:.3n}'.format(data_second_vaccination.vaccinations_last_week_percentage) }} %, {{ '{:.3n}'.format(data_second_vaccination.vaccinations_last_week_vaccination_percentage) }} %).

In den letzten sieben Tagen wurden durchschnittlich {{ '{:n}'.format(data_first_vaccination['extrapolation_mean_seven_days']['rate_int']).replace('.', ' ') }} Erstimpfungen und {{ '{:n}'.format(data_second_vaccination['extrapolation_mean_seven_days']['rate_int']).replace('.', ' ') }} Zweitimpfungen pro Tag vorgenommen ({{ '{:n}'.format(data_first_vaccination['extrapolation_mean_seven_days']['rate_int'] * 7).replace('.', ' ') }}/{{ '{:n}'.format(data_second_vaccination['extrapolation_mean_seven_days']['rate_int'] * 7).replace('.', ' ') }} pro Woche).