home
·
contact
·
privacy
projects
/
berlin-corona-table
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
345f7bd
)
Remove summary string from HTML table.
author
Christian Heller
<c.heller@plomlompom.de>
Fri, 3 Jul 2020 19:29:43 +0000
(21:29 +0200)
committer
Christian Heller
<c.heller@plomlompom.de>
Fri, 3 Jul 2020 19:29:43 +0000
(21:29 +0200)
enhance_table.py
patch
|
blob
|
history
diff --git
a/enhance_table.py
b/enhance_table.py
index 8ac4fac55e7ac46b78d3a4f7b7abfd129b808e27..0b30d216f5105d66391251659427caa7903f316a 100755
(executable)
--- a/
enhance_table.py
+++ b/
enhance_table.py
@@
-163,7
+163,7
@@
if output_type == 'html':
week_inc = '%.1f' % district_data['week_incidence']
print('<td>')
print(new_infections)
- print('<details><summary>
(more)
</summary><table>')
+ print('<details><summary></summary><table>')
print('<tr><th>%s</th><td>%s</td></tr>' % (long_wsum, week_sum))
print('<tr><th>%s</th><td>%s</td></tr>' % (long_wavg, week_avg))
print('<tr><th>%s</th><td>%s</td></tr>' % (long_winc, week_inc))