summaryrefslogtreecommitdiff
path: root/templates/wagenreihung.html.ep
diff options
context:
space:
mode:
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>