From 5ece867536877574b33064933504740484e08797 Mon Sep 17 00:00:00 2001
From: Christian Heller <c.heller@plomlompom.de>
Date: Fri, 3 Jul 2020 20:59:04 +0200
Subject: [PATCH] Use long form district names in HTML variant.

---
 enhance_table.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/enhance_table.py b/enhance_table.py
index 0482bdf..acbebc6 100755
--- a/enhance_table.py
+++ b/enhance_table.py
@@ -136,7 +136,9 @@ if output_type == 'html':
     print('<tr>')
     print('<th>date</th>')
     for district in sorted_districts:
-        print('<th>%s</th>' % district)
+        long_form = translate[district]
+        print('<th style="writing-mode: vertical-rl; '
+              'transform: rotate(180deg);">%s</th>' % long_form)
     print('</tr>')
     sorted_dates.reverse()
     for date in sorted_dates:
-- 
2.30.2