diff options
author | Christian Hofmaier | 2019-06-04 14:07:24 +0200 |
---|---|---|
committer | Simon Rettberg | 2019-06-25 10:17:22 +0200 |
commit | 865e196d89fdbce213c4286f55ae1858dd5cfecd (patch) | |
tree | 835f2f71a84321877cda97cddb93d99a24106e13 /modules-available/locationinfo/templates/frontend-default.html | |
parent | [news] Update translations (diff) | |
download | slx-admin-865e196d89fdbce213c4286f55ae1858dd5cfecd.tar.gz slx-admin-865e196d89fdbce213c4286f55ae1858dd5cfecd.tar.xz slx-admin-865e196d89fdbce213c4286f55ae1858dd5cfecd.zip |
[locationinfo] fix bug 'open for' without times
Diffstat (limited to 'modules-available/locationinfo/templates/frontend-default.html')
-rwxr-xr-x | modules-available/locationinfo/templates/frontend-default.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules-available/locationinfo/templates/frontend-default.html b/modules-available/locationinfo/templates/frontend-default.html index d4e8109a..45db3f3d 100755 --- a/modules-available/locationinfo/templates/frontend-default.html +++ b/modules-available/locationinfo/templates/frontend-default.html @@ -1190,8 +1190,8 @@ optional: if (newText !== false) { room.$.currentEvent.text(newText); } - if (newTime !== false) { - room.$.currentRemain.text(t("for") + " " +newTime); + if (newTime !== false && newTime !== '') { + room.$.currentRemain.text(t("for") + " " + newTime); } if (room.lastFreeSeats !== seats || !same) { SetFreeSeats(room); |