From d18d068894289caa8301b05c896c3a49d30fac8a Mon Sep 17 00:00:00 2001 From: Derf Null Date: Mon, 1 May 2023 10:49:17 +0200 Subject: [PATCH] journey: shorten headers; remove realtime from journey --- templates/journey.html.ep | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/templates/journey.html.ep b/templates/journey.html.ep index f85efeb..75cfabc 100644 --- a/templates/journey.html.ep +++ b/templates/journey.html.ep @@ -123,7 +123,7 @@ - Entfernung + Strecke % if ($journey->{skip_route}) { location_off @@ -142,7 +142,7 @@ - Geschwindigkeit + Tempo % if ($journey->{skip_route}) { location_off @@ -241,10 +241,10 @@ % if ($within or $at_startstop) { % if ($before and $station->[2]{rt_dep} and $station->[2]{dep_delay}) { - %= sprintf('%+d → %s', $station->[2]{dep_delay}, $station->[2]{rt_dep}->strftime('%H:%M')) + %= sprintf('%+d', $station->[2]{dep_delay}) % } % elsif (not $before and $station->[2]{rt_arr} and $station->[2]{arr_delay}) { - %= sprintf('%+d → %s', $station->[2]{arr_delay}, $station->[2]{rt_arr}->strftime('%H:%M')) + %= sprintf('%+d', $station->[2]{arr_delay}) % } % }