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.ep17
1 files changed, 15 insertions, 2 deletions
diff --git a/templates/clean.html.ep b/templates/clean.html.ep
index 43f3c54..1a1f847 100644
--- a/templates/clean.html.ep
+++ b/templates/clean.html.ep
@@ -76,6 +76,18 @@
<div class="minfo">+<%= $departure->{delay} %></div>
% }
</div> <!-- mheader -->
+ <div class="platforminfo">
+% if ($departure->{platform}) {
+ Gleis <%= $departure->{platform} %>
+% }
+% if ($departure->{scheduled_platform} and $departure->{platform}
+% and $departure->{scheduled_platform} ne $departure->{platform}) {
+ (nicht Gleis <%= $departure->{scheduled_platform} %>)
+% }
+% elsif ($departure->{changed_platform}) {
+ (Gleiswechsel)
+% }
+ </div> <!-- platforminfo -->
% if (not $departure->{is_cancelled}) {
<div class="timeinfo">
% if ($departure->{sched_arrival}) {
@@ -203,8 +215,9 @@
% }
% }
% }
-% if ($departure->{scheduled_platform} and $departure->{platform} and
-% $departure->{scheduled_platform} ne $departure->{platform}) {
+% if (($departure->{scheduled_platform} and $departure->{platform} and
+% $departure->{scheduled_platform} ne $departure->{platform})
+% or $departure->{changed_platform}) {
<span class="platform changed-platform">
% }
% else {