From 3ff2c9894f04e5931e1d328380b27a227320b437 Mon Sep 17 00:00:00 2001 From: kamidu Date: Tue, 14 Mar 2017 14:06:22 +0530 Subject: [PATCH] role filtering for device cloud is enabled --- .../pages/cdmf.page.role.create/create.hbs | 60 +++++++++-------- .../app/units/cdmf.unit.role.edit/edit.hbs | 64 +++++++++++-------- .../app/units/cdmf.unit.role.edit/edit.js | 1 + .../cdmf.unit.role.edit/public/js/bottomJs.js | 38 +++++++---- 4 files changed, 98 insertions(+), 65 deletions(-) diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/pages/cdmf.page.role.create/create.hbs b/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/pages/cdmf.page.role.create/create.hbs index ce2b46759fc..45411b407f0 100644 --- a/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/pages/cdmf.page.role.create/create.hbs +++ b/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/pages/cdmf.page.role.create/create.hbs @@ -88,17 +88,25 @@ - + {{#if isCloud}} +
+ + devicemgt + + {{else}}
- - -
+ {{/if}} + + +
{{#if canViewUsers}}