Unverified Commit 163e0ffd authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

train details: handle trains that only have sched_ times (hello, hafas)

parent 6b0dbede
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -64,6 +64,9 @@
          An: <%= $departure->{arrival} %>
%       }
%     }
%     elsif ($departure->{sched_arrival}) {
        An: <%= $departure->{sched_arrival} %>
%     }
%     elsif ($departure->{prep_time}) {
        Ein: <%= $departure->{prep_time} %>
%     }
@@ -115,6 +118,9 @@
%       else {
          Ab: <%= $departure->{departure} %>
%       }
%     }
%     elsif ($departure->{sched_departure}) {
        Ab: <%= $departure->{sched_departure} %>
%     }
    </div>
    </div>