From c6744aac063482c4c48ed3a98d5cd8857e1261e6 Mon Sep 17 00:00:00 2001
From: Simon Rettberg
Date: Sun, 4 Mar 2018 16:41:50 +0100
Subject: [sysconfig] Add permissions
---
.../sysconfig/templates/list-modules.html | 24 +++++++++++++++++-----
1 file changed, 19 insertions(+), 5 deletions(-)
(limited to 'modules-available/sysconfig/templates/list-modules.html')
diff --git a/modules-available/sysconfig/templates/list-modules.html b/modules-available/sysconfig/templates/list-modules.html
index a55253ec..b91ce106 100644
--- a/modules-available/sysconfig/templates/list-modules.html
+++ b/modules-available/sysconfig/templates/list-modules.html
@@ -16,7 +16,10 @@
{{#allowDownload}}
-
+
{{/allowDownload}}
|
@@ -27,9 +30,18 @@
{{^needRebuild}}
class="refmod btn btn-default btn-xs"
{{/needRebuild}}
- name="rebuild" value="{{id}}" title="{{lang_rebuild}}">
-
-
+ name="rebuild" value="{{id}}" title="{{lang_rebuild}}" {{perms.module.edit.disabled}}>
+
+
+
+
+
+
|
{{/modules}}
@@ -40,7 +52,9 @@
--
cgit v1.2.3-55-g7522
From 4119498735560389f800a26a356b43db8e6cacd7 Mon Sep 17 00:00:00 2001
From: Simon Rettberg
Date: Wed, 28 Mar 2018 10:54:41 +0200
Subject: [sysconfig] Properly disable edit button in module ist
Closes #3336
---
modules-available/sysconfig/templates/list-modules.html | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
(limited to 'modules-available/sysconfig/templates/list-modules.html')
diff --git a/modules-available/sysconfig/templates/list-modules.html b/modules-available/sysconfig/templates/list-modules.html
index b91ce106..c657eae8 100644
--- a/modules-available/sysconfig/templates/list-modules.html
+++ b/modules-available/sysconfig/templates/list-modules.html
@@ -33,9 +33,9 @@
name="rebuild" value="{{id}}" title="{{lang_rebuild}}" {{perms.module.edit.disabled}}>
-
+ title="{{lang_edit}}">