diff options
author | Simon Rettberg | 2020-11-04 13:31:33 +0100 |
---|---|---|
committer | Simon Rettberg | 2020-11-04 13:31:33 +0100 |
commit | 53d10a82fb07487f411c0c75dd0d58cc83610fbe (patch) | |
tree | 5f6fed7f2b2c60c5932186389d07a15b8a4e23b0 /modules-available/locationinfo/templates | |
parent | [locationinfo] "show hostname" cannot be overridden per location (diff) | |
download | slx-admin-53d10a82fb07487f411c0c75dd0d58cc83610fbe.tar.gz slx-admin-53d10a82fb07487f411c0c75dd0d58cc83610fbe.tar.xz slx-admin-53d10a82fb07487f411c0c75dd0d58cc83610fbe.zip |
[locationinfo] Allow seconds in prettytime mode, change eco mode text
Eco mode doesn't change any colors anymore currently, it merely lowers
the update rate and hides seconds from the countdown.
Diffstat (limited to 'modules-available/locationinfo/templates')
-rwxr-xr-x | modules-available/locationinfo/templates/frontend-default.html | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules-available/locationinfo/templates/frontend-default.html b/modules-available/locationinfo/templates/frontend-default.html index 46b1b427..6e04550d 100755 --- a/modules-available/locationinfo/templates/frontend-default.html +++ b/modules-available/locationinfo/templates/frontend-default.html @@ -253,6 +253,7 @@ optional: overflow: visible; height: 0; font-size: 10pt; + text-shadow: #000 1px 1px; } .BROKEN .screen-inner { @@ -1208,7 +1209,7 @@ optional: var newText = false, newTime = false; var seats = room.freePcs; if (tmp.state === 'closed' || tmp.state === 'CalendarEvent' || tmp.state === 'Free') { - newTime = GetTimeDiferenceAsString(tmp.end, MyDate(), globalConfig); + newTime = GetTimeDiferenceAsString(tmp.end, MyDate(), room.config); } if (tmp.state === "closed") { if (!same) newText = t("closed"); |