summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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>