From 1b59adf1dc9284c7c0c62ca4280478fd99cfce7e Mon Sep 17 00:00:00 2001 From: thomaswoehlke <thomas.woehlke@gmail.com> Date: Thu, 28 Jan 2021 17:45:38 +0100 Subject: [PATCH] work --- templates/who/date_reported/who_date_reported_all.html | 2 +- .../fragments/fragment_who_table_global_data_country.html | 8 ++++++-- .../fragment_who_table_global_data_date_reported.html | 8 ++++++-- 3 files changed, 13 insertions(+), 5 deletions(-) diff --git a/templates/who/date_reported/who_date_reported_all.html b/templates/who/date_reported/who_date_reported_all.html index 4e29db2a..93235495 100644 --- a/templates/who/date_reported/who_date_reported_all.html +++ b/templates/who/date_reported/who_date_reported_all.html @@ -63,7 +63,7 @@ <tr> <td> <a href="/who/date_reported/{{ who_date_reported.id }}"> - {{ who_date_reported.date_reported }} + {{ who_date_reported.datum }} </a> </td> </tr> diff --git a/templates/who/fragments/fragment_who_table_global_data_country.html b/templates/who/fragments/fragment_who_table_global_data_country.html index 3ff6ffa4..04ebb52f 100644 --- a/templates/who/fragments/fragment_who_table_global_data_country.html +++ b/templates/who/fragments/fragment_who_table_global_data_country.html @@ -1,7 +1,9 @@ <table class="table table-hover table-striped table-dark"> <thead> <tr> - <th scope="col">date reported</th> + <th scope="col"> + date reported + </th> <th scope="col"> <a href="/who/country/{{ who_country.id }}/deaths_new"> deaths new @@ -31,7 +33,9 @@ {% for who_global_data in page_data.items %} <tr> <th> - {{ who_global_data.date_reported.date_reported }} + <a href="/who/date_reported/{{ who_global_data.date_reported.id }}"> + {{ who_global_data.date_reported.date_reported }} + </a> </th> <td> {{ who_global_data.deaths_new }} diff --git a/templates/who/fragments/fragment_who_table_global_data_date_reported.html b/templates/who/fragments/fragment_who_table_global_data_date_reported.html index 5aaa9530..16e7177f 100644 --- a/templates/who/fragments/fragment_who_table_global_data_date_reported.html +++ b/templates/who/fragments/fragment_who_table_global_data_date_reported.html @@ -1,7 +1,9 @@ <table class="table table-hover table-striped table-dark"> <thead> <tr> - <th scope="col">date reported</th> + <th scope="col"> + date reported + </th> <th scope="col"> <a href="/who/date_reported/{{ who_date_reported.id }}/deaths_new"> deaths new @@ -31,7 +33,9 @@ {% for who_global_data in page_data.items %} <tr> <th> - {{ who_global_data.date_reported.date_reported }} + <a href="/who/date_reported/{{ who_global_data.date_reported.id }}"> + {{ who_global_data.date_reported.date_reported }} + </a> </th> <td> {{ who_global_data.deaths_new }} -- GitLab