diff options
| author | Daniel Friesel <derf@finalrewind.org> | 2020-12-19 16:37:41 +0100 | 
|---|---|---|
| committer | Daniel Friesel <derf@finalrewind.org> | 2020-12-19 16:37:41 +0100 | 
| commit | 2d42acdd1577819d5115ac62aa7defbbb6b0a9a9 (patch) | |
| tree | 35e0359545e99a687c9ec79d395846c34c60d1e1 | |
| parent | e198851a167ddc3a2f1123f72aafba76d533310f (diff) | |
only show train sub-tye (ICE1/2/3/4, IC1/2) in detailed mode
| -rw-r--r-- | templates/app.html.ep | 2 | 
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>  | 
