summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2015-01-16 17:20:37 +0100
committerDaniel Friesel <derf@finalrewind.org>2015-01-16 17:20:37 +0100
commitdec82daec7c69e6d4dc4f7571bef6f2276ea5ffa (patch)
treea892bb5b41a30e0d07238a92dc75676bc97c1d2e
parent7f8a6a2b410a1cbae4d9dbffa6340d159af30ded (diff)
infoscreen: "sofort" instead of "0 min"
-rw-r--r--templates/infoscreen.html.ep5
1 files changed, 5 insertions, 0 deletions
diff --git a/templates/infoscreen.html.ep b/templates/infoscreen.html.ep
index 45f2772..28ce27c 100644
--- a/templates/infoscreen.html.ep
+++ b/templates/infoscreen.html.ep
@@ -60,8 +60,13 @@
<span class="delay"> FĂ„LLT AUS </span>
% }
% else {
+% if ($departure->countdown > 0) {
<%= $departure->countdown %> min
% }
+% else {
+sofort
+% }
+% }
</span>
<span class="time">
%= $departure->time