diff options
author | Daniel Friesel <derf@finalrewind.org> | 2015-01-16 17:20:37 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2015-01-16 17:20:37 +0100 |
commit | dec82daec7c69e6d4dc4f7571bef6f2276ea5ffa (patch) | |
tree | a892bb5b41a30e0d07238a92dc75676bc97c1d2e | |
parent | 7f8a6a2b410a1cbae4d9dbffa6340d159af30ded (diff) |
infoscreen: "sofort" instead of "0 min"
-rw-r--r-- | templates/infoscreen.html.ep | 5 |
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 |