Skip to content
Snippets Groups Projects
Unverified Commit 25afe3f2 authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

always show scheduled arr/dep time

parent 62e1f672
No related branches found
Tags 4.32.1
No related merge requests found
......@@ -105,12 +105,12 @@
% }
<span class="time <%= $show_realtime ? get_rt_time_class($departure) : q{} %>">
% if ($departure->{delay} and not $departure->{is_cancelled}) {
% if ($show_realtime) {
% if ($show_realtime and ($departure->{sched_arrival} or $departure->{sched_departure})) {
% if ($departure->{delay} > ($hide_low_delay ? 4 : 0)) {
<span class="delaynorm" aria-hidden="true">+<%= $departure->{delay} %> ⇒</span>
<span class="delaynorm" aria-hidden="true"><%= $departure->{sched_departure} // $departure->{sched_arrival} %> ⇒</span>
% }
% elsif ($departure->{delay} < 0) {
<span class="undelaynorm" aria-hidden="true"><%= $departure->{delay} %> ⇒</span>
<span class="undelaynorm" aria-hidden="true"><%= $departure->{sched_departure} // $departure->{sched_arrival} %> ⇒</span>
% }
% }
% else {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment