summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2019-01-01 21:22:32 +0100
committerDaniel Friesel <derf@finalrewind.org>2019-01-01 21:22:32 +0100
commit7c809f6645df78ba94ae488a76efdff5cbf397d8 (patch)
tree890df102008a7ca578042654b67f8e8fa3f3b518
parent41e25a0b9cd322959137a8cf07f822cfe043b4bb (diff)
Add "Abteilwagen" wagon order info
-rw-r--r--templates/wagenreihung.html.ep3
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/wagenreihung.html.ep b/templates/wagenreihung.html.ep
index cbe240b..206c326 100644
--- a/templates/wagenreihung.html.ep
+++ b/templates/wagenreihung.html.ep
@@ -34,6 +34,9 @@
<div style="position: absolute; left: 7em; right: 0em;
top: <%= $wagon->{position}{start_percent} %>%; bottom: <%= 100 - $wagon->{position}{end_percent} %>%;">
%= $wagon->type
+% if ($wagon->has_compartments) {
+ Abteilwagen
+% }
</div>
% }
</div>