Loading templates/_public_status_card.html.ep +33 −9 Original line number Diff line number Diff line Loading @@ -94,7 +94,12 @@ % if (($station->[2]{arr_countdown} // 0) > 0 and $station->[2]{arr}) { %= $station->[0] <br/> % if ($station->[2]{isCancelled}) { entfällt % } % else { %= $station->[2]{arr}->strftime('%H:%M') % } % if ($station->[2]{arr_delay}) { %= sprintf('(%+d)', $station->[2]{arr_delay} / 60) % } Loading @@ -107,10 +112,16 @@ % if (($station->[2]{dep_countdown} // 0) > 0 and $station->[2]{dep}) { %= $station->[0] <br/> % if ($station->[2]{isCancelled}) { entfällt % } % else { % if ($station->[2]{arr}) { <%= $station->[2]{arr}->strftime('%H:%M') %> → %= $station->[2]{arr}->strftime('%H:%M') → % } %= $station->[2]{dep}->strftime('%H:%M') % } % if ($station->[2]{dep_delay}) { %= sprintf('(%+d)', $station->[2]{dep_delay} / 60) % } Loading @@ -133,7 +144,12 @@ Nächster Halt:<br/> %= $station->[0] <br/> % if ($station->[2]{isCancelled}) { entfällt % } % else { %= $station->[2]{arr}->strftime('%H:%M') % } % if ($station->[2]{arr_delay}) { %= sprintf('(%+d)', $station->[2]{arr_delay} / 60) % } Loading @@ -147,9 +163,14 @@ Aktueller Halt:<br/> %= $station->[0] <br/> % if ($station->[2]{isCancelled}) { entfällt % } % else { %= $station->[2]{arr}->strftime('%H:%M') → %= $station->[2]{dep}->strftime('%H:%M') % } % if ($station->[2]{dep_delay}) { %= sprintf('(%+d)', $station->[2]{dep_delay} / 60) % } Loading Loading @@ -255,7 +276,10 @@ %= include '_show_load_icons', station => $station </span> <span style="color: #808080;"> % if ($before and $station->[2]{rt_dep} and $station->[2]{dep_delay}) { % if ($station->[2]{isCancelled}) { ∅ % } % elsif ($before and $station->[2]{rt_dep} and $station->[2]{dep_delay}) { %= sprintf('%+d', $station->[2]{dep_delay} / 60) % } % elsif (not $before and $station->[2]{rt_arr} and $station->[2]{arr_delay}) { Loading Loading
templates/_public_status_card.html.ep +33 −9 Original line number Diff line number Diff line Loading @@ -94,7 +94,12 @@ % if (($station->[2]{arr_countdown} // 0) > 0 and $station->[2]{arr}) { %= $station->[0] <br/> % if ($station->[2]{isCancelled}) { entfällt % } % else { %= $station->[2]{arr}->strftime('%H:%M') % } % if ($station->[2]{arr_delay}) { %= sprintf('(%+d)', $station->[2]{arr_delay} / 60) % } Loading @@ -107,10 +112,16 @@ % if (($station->[2]{dep_countdown} // 0) > 0 and $station->[2]{dep}) { %= $station->[0] <br/> % if ($station->[2]{isCancelled}) { entfällt % } % else { % if ($station->[2]{arr}) { <%= $station->[2]{arr}->strftime('%H:%M') %> → %= $station->[2]{arr}->strftime('%H:%M') → % } %= $station->[2]{dep}->strftime('%H:%M') % } % if ($station->[2]{dep_delay}) { %= sprintf('(%+d)', $station->[2]{dep_delay} / 60) % } Loading @@ -133,7 +144,12 @@ Nächster Halt:<br/> %= $station->[0] <br/> % if ($station->[2]{isCancelled}) { entfällt % } % else { %= $station->[2]{arr}->strftime('%H:%M') % } % if ($station->[2]{arr_delay}) { %= sprintf('(%+d)', $station->[2]{arr_delay} / 60) % } Loading @@ -147,9 +163,14 @@ Aktueller Halt:<br/> %= $station->[0] <br/> % if ($station->[2]{isCancelled}) { entfällt % } % else { %= $station->[2]{arr}->strftime('%H:%M') → %= $station->[2]{dep}->strftime('%H:%M') % } % if ($station->[2]{dep_delay}) { %= sprintf('(%+d)', $station->[2]{dep_delay} / 60) % } Loading Loading @@ -255,7 +276,10 @@ %= include '_show_load_icons', station => $station </span> <span style="color: #808080;"> % if ($before and $station->[2]{rt_dep} and $station->[2]{dep_delay}) { % if ($station->[2]{isCancelled}) { ∅ % } % elsif ($before and $station->[2]{rt_dep} and $station->[2]{dep_delay}) { %= sprintf('%+d', $station->[2]{dep_delay} / 60) % } % elsif (not $before and $station->[2]{rt_arr} and $station->[2]{arr_delay}) { Loading