summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2015-10-09 15:42:37 +0200
committerDaniel Friesel <derf@finalrewind.org>2015-10-09 15:42:37 +0200
commit09943158b6eaa50d1dcdb9adf9df9220b927e9fa (patch)
treeb7aa451f1d7fcfb37c10808dbd93aefff261b4d6 /templates
parent7d7acafbc2614cb567bb0f761b020ab547367d60 (diff)
infoscreen: highlight trams from HAFAS backends
Diffstat (limited to 'templates')
-rw-r--r--templates/infoscreen.html.ep2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/infoscreen.html.ep b/templates/infoscreen.html.ep
index 8cfe5cb..aeed64e 100644
--- a/templates/infoscreen.html.ep
+++ b/templates/infoscreen.html.ep
@@ -28,7 +28,7 @@
% my $linetype = q{};
% if ($departure->can('type')) {
% given ($departure->type) {
-% when ($_ =~ m{enbahn$}) { $linetype = 'tram' }
+% when ($_ =~ m{ (?: enbahn $ ) | Tram | STR }ix) { $linetype = 'tram' }
% when ('S-Bahn') { $linetype = 'sbahn' }
% when ([qw[NE Niederflurbus SB Bus]]) { $linetype = 'bus' }
% when ('U-Bahn') { $linetype = 'ubahn' }