diff options
author | Daniel Friesel <derf@finalrewind.org> | 2021-02-18 18:34:33 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2021-02-18 18:34:33 +0100 |
commit | fd7afd8f42c029bdaf9d11118f53500805ddad6b (patch) | |
tree | dddedc29ed614e480d6e18561be90056852e916c /templates/wagenreihung.html.ep | |
parent | b8b70bca030ff0db174bfde92418ed98617b0bdb (diff) |
wagon image: do not mis-label unknown (e.g. EC) trains as IC3.10.8
Fixes wrong wagon images being displayed for swiss (and probably other) EC
trains.
Diffstat (limited to 'templates/wagenreihung.html.ep')
-rw-r--r-- | templates/wagenreihung.html.ep | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/wagenreihung.html.ep b/templates/wagenreihung.html.ep index 0686063..9fe132d 100644 --- a/templates/wagenreihung.html.ep +++ b/templates/wagenreihung.html.ep @@ -50,7 +50,7 @@ % } % } % for my $wagon ($wr->wagons) { -%= include '_wagon', direction => $wr->direction, wagon => $wagon, wref => $wref, exit_dir => stash('exit_dir'); +%= include '_wagon', direction => $wr->direction, wagon => $wagon, type => $wr->train_type, wref => $wref, exit_dir => stash('exit_dir'); % } </div> <!-- <div> |