summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/DBInfoscreen/Controller/Stationboard.pm2
-rw-r--r--templates/_train_details.html.ep2
2 files changed, 3 insertions, 1 deletions
diff --git a/lib/DBInfoscreen/Controller/Stationboard.pm b/lib/DBInfoscreen/Controller/Stationboard.pm
index 015a000..862ba12 100644
--- a/lib/DBInfoscreen/Controller/Stationboard.pm
+++ b/lib/DBInfoscreen/Controller/Stationboard.pm
@@ -1088,11 +1088,13 @@ sub handle_request {
elsif ($departure->{train_type} eq 'IC'
or $departure->{train_type} eq 'ICE'
or $departure->{train_type} eq 'EC'
+ or $departure->{train_type} eq 'ECE'
or $departure->{train_type} eq 'EN' )
{
$linetype = 'fern';
}
elsif ($departure->{train_type} eq 'THA'
+ or $departure->{train_type} eq 'TGV'
or $departure->{train_type} eq 'FLX'
or $departure->{train_type} eq 'NJ' )
{
diff --git a/templates/_train_details.html.ep b/templates/_train_details.html.ep
index c61e1bf..5bff90f 100644
--- a/templates/_train_details.html.ep
+++ b/templates/_train_details.html.ep
@@ -73,7 +73,7 @@
% }
% }
</div> <!-- timeinfo -->
-% if ($linetype eq 'fern' and $departure->{wr_link}) {
+% if (($linetype eq 'fern' or $linetype eq 'ext') and $departure->{wr_link}) {
<div class="verbose">
<a href="/_wr/<%= $departure->{train_no} %>/<%= $departure->{wr_link} %>">Wagenreihung</a>
</div>