summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/clean.html.ep18
1 files changed, 14 insertions, 4 deletions
diff --git a/templates/clean.html.ep b/templates/clean.html.ep
index 889d409..41dddc6 100644
--- a/templates/clean.html.ep
+++ b/templates/clean.html.ep
@@ -46,11 +46,11 @@
</div>
% if (@{$departure->{replaced_by}} or @{$departure->{replacement_for}}) {
<div class="lineinfo">
-% for my $replacement (@{$departure->{replaced_by}}) {
- <span class="replaced">→ <%= $replacement %></span>
+% if (@{$departure->{replaced_by}}) {
+ %#<span class="replaced">→ Ersatzzug</span>
% }
-% for my $replacement (@{$departure->{replacement_for}}) {
- <span class="replacement">↑ <%= $replacement %></span>
+% if (@{$departure->{replacement_for}}) {
+ <span class="replacement">Ersatzzug</span>
% }
</div>
% }
@@ -81,6 +81,16 @@
% elsif (defined $departure->{delay} and $departure->{delay} > 0) {
<div class="minfo">+<%= $departure->{delay} %></div>
% }
+% if (@{$departure->{replaced_by}}) {
+% for my $replacement (@{$departure->{replaced_by}}) {
+ <span class="replaced">Ersatzzug: <%= $replacement %></span>
+% }
+% }
+% if (@{$departure->{replacement_for}}) {
+% for my $replacement (@{$departure->{replacement_for}}) {
+ <span class="replacement">Ersatzzug für <%= $replacement %></span>
+% }
+% }
</div> <!-- mheader -->
<div class="mfooter">
<div class="platforminfo">