summaryrefslogtreecommitdiff
path: root/templates/wagen.html.ep
diff options
context:
space:
mode:
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