summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--public/static/default.css6
-rw-r--r--templates/clean.html.ep18
2 files changed, 17 insertions, 7 deletions
diff --git a/public/static/default.css b/public/static/default.css
index 6af949f..9a04ee1 100644
--- a/public/static/default.css
+++ b/public/static/default.css
@@ -49,15 +49,15 @@ div.displayclean li .lineinfo {
color:#000000;
font-size: 2em;
position:absolute;
- bottom:2px;
+ top:0px;
left:2px;
}
-div.displayclean li .lineinfo .replacement {
+div.displayclean .replacement {
color: #006600;
}
-div.displayclean li .lineinfo .replaced {
+div.displayclean .replaced {
color: #660000;
}
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">