summaryrefslogtreecommitdiff
path: root/cgi/templates/clean.html.ep
diff options
context:
space:
mode:
Diffstat (limited to 'cgi/templates/clean.html.ep')
-rw-r--r--cgi/templates/clean.html.ep7
1 files changed, 7 insertions, 0 deletions
diff --git a/cgi/templates/clean.html.ep b/cgi/templates/clean.html.ep
index 635c3ad..37ab205 100644
--- a/cgi/templates/clean.html.ep
+++ b/cgi/templates/clean.html.ep
@@ -10,6 +10,12 @@
<span class="line">
%= $departure->{train}
</span>
+% if ($departure->{info} and length $departure->{info}) {
+<span class="info">
+%= $departure->{info}
+</span>
+% }
+% else {
<span class="route">
% my $via_max = @{$departure->{via}};
% my $via_cur = 0;
@@ -18,6 +24,7 @@
<%= $stop %><% if ($via_cur < $via_max) { %> - <% } %>
% }
</span>
+% }
<span class="dest">
%= $departure->{destination}
</span>