summaryrefslogtreecommitdiff
path: root/templates/_train_details.html.ep
diff options
context:
space:
mode:
Diffstat (limited to 'templates/_train_details.html.ep')
-rw-r--r--templates/_train_details.html.ep9
1 files changed, 7 insertions, 2 deletions
diff --git a/templates/_train_details.html.ep b/templates/_train_details.html.ep
index 444fe9a..0ace74c 100644
--- a/templates/_train_details.html.ep
+++ b/templates/_train_details.html.ep
@@ -73,9 +73,14 @@
% }
% }
</div> <!-- timeinfo -->
-% if ($departure->{wr_link}) {
+% if ($departure->{wr_link} or ($icetype and $icetype->[1])) {
<div class="verbose">
- <a href="/_wr/<%= $departure->{train_no} %>/<%= $departure->{wr_link} %>">Wagenreihung</a>
+% if ($departure->{wr_link}) {
+ <a href="/_wr/<%= $departure->{train_no} %>/<%= $departure->{wr_link} %>">Wagenreihung</a>
+% }
+% if ($icetype and $icetype->[1]) {
+ (Plan: <%= $icetype->[0] %>)<br/>
+% }
</div>
% }
% if ($departure->{trip_id}) {