journey: shorten headers; remove realtime from journey

This commit is contained in:
Derf Null 2023-05-01 10:49:17 +02:00
parent e4a07dc06c
commit d18d068894
No known key found for this signature in database
GPG key ID: 19E6E524EBB177BA

View file

@ -123,7 +123,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<th scope="row">Entfernung</th> <th scope="row">Strecke</th>
<td> <td>
% if ($journey->{skip_route}) { % if ($journey->{skip_route}) {
<i class="material-icons right">location_off</i> <i class="material-icons right">location_off</i>
@ -142,7 +142,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<th scope="row">Geschwindigkeit</th> <th scope="row">Tempo</th>
<td> <td>
% if ($journey->{skip_route}) { % if ($journey->{skip_route}) {
<i class="material-icons right">location_off</i> <i class="material-icons right">location_off</i>
@ -241,10 +241,10 @@
% if ($within or $at_startstop) { % if ($within or $at_startstop) {
<span style="color: #808080;"> <span style="color: #808080;">
% if ($before and $station->[2]{rt_dep} and $station->[2]{dep_delay}) { % 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}) { % 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> </span>
% } % }