diff options
author | Derf Null <derf@finalrewind.org> | 2023-05-01 10:49:17 +0200 |
---|---|---|
committer | Derf Null <derf@finalrewind.org> | 2023-05-01 10:49:17 +0200 |
commit | d18d068894289caa8301b05c896c3a49d30fac8a (patch) | |
tree | bd44a59fb352ea9b5e631cc71f34a5accd4fe357 | |
parent | e4a07dc06cca76aae0a8174c564469527a4dd818 (diff) |
journey: shorten headers; remove realtime from journey
-rw-r--r-- | templates/journey.html.ep | 8 |
1 files 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 @@ </td> </tr> <tr> - <th scope="row">Entfernung</th> + <th scope="row">Strecke</th> <td> % if ($journey->{skip_route}) { <i class="material-icons right">location_off</i> @@ -142,7 +142,7 @@ </td> </tr> <tr> - <th scope="row">Geschwindigkeit</th> + <th scope="row">Tempo</th> <td> % if ($journey->{skip_route}) { <i class="material-icons right">location_off</i> @@ -241,10 +241,10 @@ % if ($within or $at_startstop) { <span style="color: #808080;"> % 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}) % } </span> % } |