summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cgi/templates/infoscreen.html.ep7
1 files changed, 5 insertions, 2 deletions
diff --git a/cgi/templates/infoscreen.html.ep b/cgi/templates/infoscreen.html.ep
index 068bb84..f855c6c 100644
--- a/cgi/templates/infoscreen.html.ep
+++ b/cgi/templates/infoscreen.html.ep
@@ -223,11 +223,14 @@
%= $departure->destination
</span>
<span class="countdown">
+% if ($departure->delay) {
+<span class="delay"> (+<%= $departure->delay %>) </span>
+% }
% if ($departure->is_cancelled) {
<span class="delay"> FĂ„LLT AUS </span>
% }
-% if ($departure->delay) {
-<span class="delay"> (+<%= $departure->delay %>) </span>
+% else {
+<%= $departure->countdown %> min
% }
</span>
<span class="time">