From f692717e7148365813d3f65b7b350e6090159293 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Tue, 28 Apr 2015 11:59:54 +0200 Subject: add replacement infos to clean display --- templates/clean.html.ep | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'templates') 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 @@ %= $departure->{train} +% if (@{$departure->{replaced_by}} or @{$departure->{replacement_for}}) { + +% for my $replacement (@{$departure->{replaced_by}}) { +→ <%= $replacement %> +% } +% for my $replacement (@{$departure->{replacement_for}}) { +↑ <%= $replacement %> +% } + +% } % if ($departure->{moreinfo} and @{$departure->{moreinfo}}) {