From ea650826ceb481dd2c8495953bd9fa28efbb1b89 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Thu, 3 Jan 2019 21:08:10 +0100 Subject: wagenreihung: show all train numbers, origins and destinations --- templates/wagenreihung.html.ep | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'templates/wagenreihung.html.ep') 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 @@
-%= $wr->train_type -%= $wr->train_no +%= join(' / ', map { $wr->train_type . ' ' . $_ } $wr->train_numbers ) +
+
+%= join( ' / ', $wr->origins ) + → +%= join( ' / ', $wr->destinations )
- <%= $wr->station_name %> Gleis <%= $wr->platform %>
Zugtyp: <%= $wr->train_subtype // 'IC?' %>
-- cgit v1.2.3