summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2019-01-02 15:17:16 +0100
committerDaniel Friesel <derf@finalrewind.org>2019-01-02 15:17:16 +0100
commita218a7179ae6c86341b380b78c8b28a6eaa0a550 (patch)
treee42958e50759bef7c7f9b975081c8e45a2e77a90
parent16348510abf12497c6338770963f6dcb4216ead8 (diff)
wagon order: show train type (ICE 1 / 2 / 3 / 4 / T or IC2)
-rw-r--r--templates/wagenreihung.html.ep11
1 files changed, 10 insertions, 1 deletions
diff --git a/templates/wagenreihung.html.ep b/templates/wagenreihung.html.ep
index caea261..e9a13ca 100644
--- a/templates/wagenreihung.html.ep
+++ b/templates/wagenreihung.html.ep
@@ -1,5 +1,14 @@
<div class="container">
-
+ <div style="text-align: center;">
+%= $wr->train_type
+%= $wr->train_no
+ </div>
+ <div style="text-align: center;">
+ ??? → ???
+ </div>
+ <%= $wr->station_name %> Gleis <%= $wr->platform %><br/>
+ Zugtyp: <%= $wr->train_subtype // 'IC?' %>
+</div>
</div>
<div class="container">
<div style="position: relative; width: 100%; height: 60ex;">