summaryrefslogtreecommitdiff
path: root/templates/clean.html.ep
diff options
context:
space:
mode:
Diffstat (limited to 'templates/clean.html.ep')
-rw-r--r--templates/clean.html.ep10
1 files changed, 10 insertions, 0 deletions
diff --git a/templates/clean.html.ep b/templates/clean.html.ep
index 3514b87..3e4ad86 100644
--- a/templates/clean.html.ep
+++ b/templates/clean.html.ep
@@ -25,6 +25,16 @@
<span class="line <%= $linetype %> <%= $extraclasses %>">
%= $departure->{train}
</span>
+% if (@{$departure->{replaced_by}} or @{$departure->{replacement_for}}) {
+<span class="lineinfo">
+% for my $replacement (@{$departure->{replaced_by}}) {
+<span class="replaced">→ <%= $replacement %></span>
+% }
+% for my $replacement (@{$departure->{replacement_for}}) {
+<span class="replacement">↑ <%= $replacement %></span>
+% }
+</span>
+% }
% if ($departure->{moreinfo} and @{$departure->{moreinfo}}) {
<span class="moreinfo">
<ul>