Loading lib/DBInfoscreen/Controller/Stationboard.pm +12 −1 Original line number Diff line number Diff line Loading @@ -148,7 +148,7 @@ sub hafas_xml_req { # <SDay text="... > ..."> is invalid HTML, but present # regardless. As it is the last tag, we just throw it away. $body =~ s{<SDay .*}{</Journey>}s; $body =~ s{<SDay [^>]*/>}{}s; my $tree; Loading Loading @@ -958,6 +958,17 @@ sub handle_request { } } } if ( $him and @{$him} ) { $departures[-1]{messages}{him} = $him; for my $message ( @{$him} ) { if ( $message->{display} ) { unshift( @{ $departures[-1]{moreinfo} }, [ $message->{header}, $message->{lead} ] ); } } } } } else { Loading templates/_train_details.html.ep +0 −1 Original line number Diff line number Diff line Loading @@ -97,7 +97,6 @@ % else { %= $pair->[0] % } : <span class="reason"> %= $pair->[1] </span> Loading Loading
lib/DBInfoscreen/Controller/Stationboard.pm +12 −1 Original line number Diff line number Diff line Loading @@ -148,7 +148,7 @@ sub hafas_xml_req { # <SDay text="... > ..."> is invalid HTML, but present # regardless. As it is the last tag, we just throw it away. $body =~ s{<SDay .*}{</Journey>}s; $body =~ s{<SDay [^>]*/>}{}s; my $tree; Loading Loading @@ -958,6 +958,17 @@ sub handle_request { } } } if ( $him and @{$him} ) { $departures[-1]{messages}{him} = $him; for my $message ( @{$him} ) { if ( $message->{display} ) { unshift( @{ $departures[-1]{moreinfo} }, [ $message->{header}, $message->{lead} ] ); } } } } } else { Loading
templates/_train_details.html.ep +0 −1 Original line number Diff line number Diff line Loading @@ -97,7 +97,6 @@ % else { %= $pair->[0] % } : <span class="reason"> %= $pair->[1] </span> Loading