From da8870e85f59dc8e83d2c4f50432f688080cb1d1 Mon Sep 17 00:00:00 2001
From: Simon Rettberg
Date: Mon, 5 Mar 2018 14:17:36 +0100
Subject: [locationinfo] Add permissions
---
modules-available/locationinfo/templates/page-locations.html | 4 ++++
modules-available/locationinfo/templates/page-panels.html | 8 +++++---
modules-available/locationinfo/templates/page-servers.html | 9 +++++----
modules-available/locationinfo/templates/page-tabs.html | 6 +++---
4 files changed, 17 insertions(+), 10 deletions(-)
(limited to 'modules-available/locationinfo/templates')
diff --git a/modules-available/locationinfo/templates/page-locations.html b/modules-available/locationinfo/templates/page-locations.html
index 37d8dd96..94c4cd40 100644
--- a/modules-available/locationinfo/templates/page-locations.html
+++ b/modules-available/locationinfo/templates/page-locations.html
@@ -17,10 +17,14 @@
+ {{#allowed}}
+ {{/allowed}}
{{locationname}}
+ {{#allowed}}
+ {{/allowed}}
|
{{backend}}
diff --git a/modules-available/locationinfo/templates/page-panels.html b/modules-available/locationinfo/templates/page-panels.html
index e17b6584..2bccc796 100644
--- a/modules-available/locationinfo/templates/page-panels.html
+++ b/modules-available/locationinfo/templates/page-panels.html
@@ -34,19 +34,21 @@
|
{{#hasRunmode}}
-
+
{{assignedMachineCount}}
|
{{/hasRunmode}}
-
+
|
- |
diff --git a/modules-available/locationinfo/templates/page-servers.html b/modules-available/locationinfo/templates/page-servers.html
index dbf18b5f..3edb0e66 100644
--- a/modules-available/locationinfo/templates/page-servers.html
+++ b/modules-available/locationinfo/templates/page-servers.html
@@ -22,18 +22,19 @@
+ data-server-edit="{{serverid}}" {{disabled}} {{perms.backend.edit.disabled}} type="button">
{{lang_edit}}
-
+
{{lang_checkConnection}}
|
-
+
{{lang_delete}}
diff --git a/modules-available/locationinfo/templates/page-tabs.html b/modules-available/locationinfo/templates/page-tabs.html
index ed3f01fd..743297e7 100644
--- a/modules-available/locationinfo/templates/page-tabs.html
+++ b/modules-available/locationinfo/templates/page-tabs.html
@@ -1,6 +1,6 @@
\ No newline at end of file
--
cgit v1.2.3-55-g7522
|