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.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' }