summaryrefslogtreecommitdiff
path: root/templates/wagen.html.ep
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2020-12-25 20:22:42 +0100
committerDaniel Friesel <derf@finalrewind.org>2020-12-25 20:22:42 +0100
commit084fe3eb9603243753609c4c3742b01bf225e7b6 (patch)
tree01a7fca7ec8afe264e0f2a06e1946dc87bab8337 /templates/wagen.html.ep
parent0f9dde3810a3b86e0769e6013a19ccf0faeba0a3 (diff)
add more wagon images
Diffstat (limited to 'templates/wagen.html.ep')
-rw-r--r--templates/wagen.html.ep13
1 files changed, 5 insertions, 8 deletions
diff --git a/templates/wagen.html.ep b/templates/wagen.html.ep
index 49a7274..26edbf5 100644
--- a/templates/wagen.html.ep
+++ b/templates/wagen.html.ep
@@ -1,15 +1,12 @@
<div class="container">
+ % if ($wref->{s} and $wref->{p} and $wref->{ws}) {
+ <p>
+ <%= $wref->{s} %>: Gleis <%= $wref->{p} %> <%= $wref->{ws} %>
+ </p>
+ % }
<div>
<a href="<%= $wagon_file %>"><img src="<%= $wagon_file %>" style="width: 100%;"></a>
</div>
- <p>
- % if ($wref->{s} and $wref->{p} and $wref->{ws}) {
- Position in <%= $wref->{s} %>: Gleis <%= $wref->{p} %> Abschnitt <%= $wref->{ws} %>
- % }
- % elsif ($wref->{s} and $wref->{p}) {
- <%= $wref->{s} %> Gleis <%= $wref->{p} %>
- % }
- </p>
<p class="copyright">
Abbildung © Seemanngrafik d.i.p. im Auftrag der Deutschen Bahn AG,
lizensiert unter CC-BY-4.0