Commit dc89b1dc authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

show arrival and departure times in detailed mode

parent f3679cb2
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -341,10 +341,10 @@ div.displayclean li .countdown .changed-platform {

div.displayclean li .time {
	background-color: inherit;
	font-size:2.4em;
	font-size:2.3em;
	position:absolute;
	right:5px;
	top:5px;
	top:4px;
	padding-left: 0.2em;
}

+18 −1
Original line number Diff line number Diff line
@@ -242,7 +242,24 @@
    </span>
    <span class="time <%= ($show_realtime and $departure->{delay} and not
      $departure->{is_cancelled}) ? 'delayed' : q{} %> <%= $extraclasses %>">
%   if (param('detailed')) {
%     my $arrow = '→';
%     if (not $departure->{sched_arrival}) {
%       $arrow = '↦';
%     }
%     elsif (not $departure->{sched_departure}) {
%       $arrow = '⇥';
%     }
%     if ($show_realtime) {
%=      ($departure->{arrival} // q{}) . $arrow . ($departure->{departure} // q{})
%     }
%     else {
%=      ($departure->{sched_arrival} // q{}) . $arrow . ($departure->{sched_departure} // q{})
%     }
%   }
%   else {
%=    $departure->{time}
%   }
    </span>
    </li>