summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2020-12-29 22:38:58 +0100
committerDaniel Friesel <derf@finalrewind.org>2020-12-29 22:38:58 +0100
commit98ae56f86814c0b0a8bb5a9efe711a5671ba2840 (patch)
tree7a18c244279e9e65b1e2bedf385f069acddba7a0 /templates
parente42a988a2738e4a079e9277c3bb5a3cbcbfa5395 (diff)
show wagon type/description in wagon view
Diffstat (limited to 'templates')
-rw-r--r--templates/wagen.html.ep5
1 files changed, 5 insertions, 0 deletions
diff --git a/templates/wagen.html.ep b/templates/wagen.html.ep
index b08b212..145b3fd 100644
--- a/templates/wagen.html.ep
+++ b/templates/wagen.html.ep
@@ -37,6 +37,11 @@
% }
</div>
% }
+ % if ($wagon_data->{name}) {
+ <p>
+ <%= $wagon_data->{name} %>
+ </p>
+ % }
<p class="copyright" style="clear: both;">
Abbildung © Seemanngrafik d.i.p. im Auftrag der Deutschen Bahn AG,
lizensiert unter CC-BY-4.0