summaryrefslogtreecommitdiff
path: root/templates/infoscreen.html.ep
diff options
context:
space:
mode:
Diffstat (limited to 'templates/infoscreen.html.ep')
-rw-r--r--templates/infoscreen.html.ep6
1 files changed, 5 insertions, 1 deletions
diff --git a/templates/infoscreen.html.ep b/templates/infoscreen.html.ep
index 8ff8d96..880180f 100644
--- a/templates/infoscreen.html.ep
+++ b/templates/infoscreen.html.ep
@@ -47,7 +47,11 @@
%= $departure->line_no
% }
% else {
-%= $departure->line
+% my $line = $departure->line;
+% if ($line =~ m{^IC}) {
+% $line = join(q{ }, (split(qr{ }, $line))[0,1]);
+% }
+%= $line;
% }
</span> <!-- line -->
<span class="moreinfo">