diff --git a/src/flask_covid19/blueprints/data_ecdc/templates/ecdc/ecdc_data/ecdc_data_table.html b/src/flask_covid19/blueprints/data_ecdc/templates/ecdc/ecdc_data/ecdc_data_table.html index 3eb38ce59b4aaef5e4918e84835303b4effebaf8..cae2e0e1dcfd16a8a8e0fbc92f27c98fbc7a2b91 100644 --- a/src/flask_covid19/blueprints/data_ecdc/templates/ecdc/ecdc_data/ecdc_data_table.html +++ b/src/flask_covid19/blueprints/data_ecdc/templates/ecdc/ecdc_data/ecdc_data_table.html @@ -73,37 +73,37 @@ <a href="{{ url_for( 'ecdc.url_ecdc_date_reported_one_notification_rate', europe_date_reported_id=europe_date_reported.id, page=page_data.page) }}"> - <a href="/ecdc/date_reported/{{ ecdc_data.ecdc_datereported.id }}"> - {{ ecdc_data.ecdc_datereported.get_name_for_datum() }} + <a href="/ecdc/date_reported/{{ ecdc_data.date_reported.id }}"> + {{ ecdc_data.date_reported.datum }} </a> </td> <td> - <a href="/ecdc/date_reported/{{ ecdc_data.ecdc_datereported.id }}"> - {{ ecdc_data.ecdc_datereported.year_week }} + <a href="/ecdc/date_reported/{{ ecdc_data.date_reported.id }}"> + {{ ecdc_data.date_reported.year_week }} </a> </td> <td>{{ ecdc_data.deaths }}</td> <td>{{ ecdc_data.cases }}</td> <td>{{ ecdc_data.cumulative_number_for_14_days_of_covid19_cases_per_100000 }}</td> <td> - <a href="/ecdc/country/{{ ecdc_data.ecdc_country.id }}"> - {{ ecdc_data.ecdc_country.countries_and_territories }} + <a href="/ecdc/country/{{ ecdc_data.location.id }}"> + {{ ecdc_data.location.location }} </a> </td> - <td>{{ ecdc_data.ecdc_country.pop_data_2019 }}</td> + <td>{{ ecdc_data.location.pop_data_2019 }}</td> <td> - <a href="/ecdc/country/{{ ecdc_data.ecdc_country.id }}"> - {{ ecdc_data.ecdc_country.geo_id }} + <a href="/ecdc/country/{{ ecdc_data.location.id }}"> + {{ ecdc_data.location.geo_id }} </a> </td> <td> - <a href="/ecdc/country/{{ ecdc_data.ecdc_country.id }}"> - {{ ecdc_data.ecdc_country.country_territory_code }} + <a href="/ecdc/country/{{ ecdc_data.location.id }}"> + {{ ecdc_data.location.location_code }} </a> </td> <td> - <a href="/ecdc/continent/{{ ecdc_data.ecdc_country.continent.id }}"> - {{ ecdc_data.ecdc_country.continent.region }} + <a href="/ecdc/continent/{{ ecdc_data.location.location_group.id }}"> + {{ ecdc_data.location.location_group.location_group }} </a> </td> </tr>