diff options
author | Simon Rettberg | 2017-05-02 13:29:23 +0200 |
---|---|---|
committer | Simon Rettberg | 2017-05-02 13:29:23 +0200 |
commit | f611743d44df529f40339636e5fe925a2c0b6b47 (patch) | |
tree | 96720679043e7defeb8476950cd29b5ca84dfc83 /modules-available/locationinfo | |
parent | [locationinfo] Fix css float setting, simplify parameter handling (diff) | |
download | slx-admin-f611743d44df529f40339636e5fe925a2c0b6b47.tar.gz slx-admin-f611743d44df529f40339636e5fe925a2c0b6b47.tar.xz slx-admin-f611743d44df529f40339636e5fe925a2c0b6b47.zip |
[locationinfo] frontend: einkmode -> eco, just like it's named in config
Diffstat (limited to 'modules-available/locationinfo')
-rwxr-xr-x | modules-available/locationinfo/frontend/doorsign.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules-available/locationinfo/frontend/doorsign.html b/modules-available/locationinfo/frontend/doorsign.html index 4bb1fa2c..ee4f8c6c 100755 --- a/modules-available/locationinfo/frontend/doorsign.html +++ b/modules-available/locationinfo/frontend/doorsign.html @@ -488,7 +488,7 @@ optional: setRoomConfigFromUrl(room.config, 'daystoshow', PARAM_INT); setRoomConfigFromUrl(room.config, 'scaledaysauto', PARAM_BOOL); setRoomConfigFromUrl(room.config, 'vertical', PARAM_BOOL); - setRoomConfigFromUrl(room.config, 'einkmode', PARAM_BOOL); + setRoomConfigFromUrl(room.config, 'eco', PARAM_BOOL); setRoomConfigFromUrl(room.config, 'scale', PARAM_INT); setRoomConfigFromUrl(room.config, 'rotation', PARAM_INT); @@ -1059,7 +1059,7 @@ optional: // dont show? return ""; } - if (room.config.einkmode) { + if (room.config.eco) { return hours + ":" + minutes; } return hours + ":" + minutes + ":" + seconds; @@ -1650,7 +1650,7 @@ optional: } if (imgobj != null && supportSvg) { - if (room.config.einkmode) { + if (room.config.eco) { img = img + "_eink"; } imgobj.src = img + ".svg"; |