summaryrefslogtreecommitdiff
path: root/templates/wagenreihung.html.ep
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2019-01-03 21:08:10 +0100
committerDaniel Friesel <derf@finalrewind.org>2019-01-03 21:08:10 +0100
commitea650826ceb481dd2c8495953bd9fa28efbb1b89 (patch)
tree17ce8072e453aaaa50f9708cf5f9f600751eb4ba /templates/wagenreihung.html.ep
parent0b831bde6993a68116e58c3b1297c427b6f65467 (diff)
wagenreihung: show all train numbers, origins and destinations
Diffstat (limited to 'templates/wagenreihung.html.ep')
-rw-r--r--templates/wagenreihung.html.ep11
1 files changed, 6 insertions, 5 deletions
diff --git a/templates/wagenreihung.html.ep b/templates/wagenreihung.html.ep
index db80114..2e00d91 100644
--- a/templates/wagenreihung.html.ep
+++ b/templates/wagenreihung.html.ep
@@ -1,11 +1,12 @@
<div class="container">
<div style="text-align: center;">
-%= $wr->train_type
-%= $wr->train_no
+%= join(' / ', map { $wr->train_type . ' ' . $_ } $wr->train_numbers )
+ </div>
+ <div style="text-align: center;">
+%= join( ' / ', $wr->origins )
+ →
+%= join( ' / ', $wr->destinations )
</div>
-<!-- <div style="text-align: center;">
- ??? → ???
- </div> -->
<%= $wr->station_name %> Gleis <%= $wr->platform %><br/>
Zugtyp: <%= $wr->train_subtype // 'IC?' %>
</div>