summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--templates/app.html.ep2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/app.html.ep b/templates/app.html.ep
index 9902ff6..adbaa96 100644
--- a/templates/app.html.ep
+++ b/templates/app.html.ep
@@ -59,7 +59,7 @@
%= $departure->{train_line}
% }
% elsif ($departure->{train_no}) {
-% if ($departure->{linetype} eq 'fern' and exists $ice_type->{$departure->{train_no}} and $ice_type->{$departure->{train_no}}[1]) {
+% if (param('detailed') and $departure->{linetype} eq 'fern' and exists $ice_type->{$departure->{train_no}} and $ice_type->{$departure->{train_no}}[1]) {
<span class="trainsubtype" aria-hidden="true"><%= $ice_type->{$departure->{train_no}}[1] %></span>
% }
<span class="trainno"><%= $departure->{train_no} %></span>