summaryrefslogtreecommitdiffstats
path: root/modules-available/roomplanner/templates
diff options
context:
space:
mode:
authorSimon Rettberg2018-04-10 17:12:13 +0200
committerSimon Rettberg2018-04-10 17:12:13 +0200
commitb8f7629f2b6425aa32021d7335a7e67e6d57b804 (patch)
tree3affcc07906abbfe335480f52dab7783b7cc2862 /modules-available/roomplanner/templates
parent[runmode] Add module.json (diff)
downloadslx-admin-b8f7629f2b6425aa32021d7335a7e67e6d57b804.tar.gz
slx-admin-b8f7629f2b6425aa32021d7335a7e67e6d57b804.tar.xz
slx-admin-b8f7629f2b6425aa32021d7335a7e67e6d57b804.zip
[roomplanner] Add icon to PCs that opens machine details from statistics module
Diffstat (limited to 'modules-available/roomplanner/templates')
-rw-r--r--modules-available/roomplanner/templates/footer.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules-available/roomplanner/templates/footer.html b/modules-available/roomplanner/templates/footer.html
index 6e4e0783..3294d5ee 100644
--- a/modules-available/roomplanner/templates/footer.html
+++ b/modules-available/roomplanner/templates/footer.html
@@ -21,6 +21,7 @@ var locationId = '{{locationid}}';
var subnetMachines, roomConfiguration;
var plannerLoadState = 'invalid';
const PLANNER_READ_ONLY = '{{edit_disabled}}'.length !== 0;
+const CAN_OPEN_STATS = '{{statistics_disabled}}'.length === 0;
document.addEventListener("DOMContentLoaded", function () {
subnetMachines = makeCombinedField({{{subnetMachines}}});