summaryrefslogtreecommitdiff
path: root/templates/wagenreihung.html.ep
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2021-01-02 18:03:34 +0100
committerDaniel Friesel <derf@finalrewind.org>2021-01-02 18:03:34 +0100
commit836cd8a39a2c6c64e3cd23239a18fe1c6ea8515c (patch)
tree32bd695624cdb2e7c987548fb72e47190c1a063c /templates/wagenreihung.html.ep
parent9958706954315a7db9a69662cd0c1b093f940385 (diff)
show exit direction in wagon order3.9.3
Diffstat (limited to 'templates/wagenreihung.html.ep')
-rw-r--r--templates/wagenreihung.html.ep4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/wagenreihung.html.ep b/templates/wagenreihung.html.ep
index 087c2bf..4d83d2b 100644
--- a/templates/wagenreihung.html.ep
+++ b/templates/wagenreihung.html.ep
@@ -50,7 +50,7 @@
% }
</div>
<div class="container">
- <div class="wagonorder">
+ <div class="wagonorder exit-<%= stash('exit_dir') // 'unknown'%>">
% if (not $wr->has_bad_wagons) {
% for my $section ($wr->sections) {
<div class="section" style="
@@ -60,7 +60,7 @@
% }
% }
% for my $wagon ($wr->wagons) {
-%= include '_wagon', direction => $wr->direction, wagon => $wagon, type => $wr->train_subtype // 'IC', wref => $wref;
+%= include '_wagon', direction => $wr->direction, wagon => $wagon, type => $wr->train_subtype // 'IC', wref => $wref, exit_dir => stash('exit_dir');
% }
</div>
<!-- <div>