From 511c61175cdfbf0d101cb25805566be2930eefde Mon Sep 17 00:00:00 2001 From: Rasika Perera Date: Tue, 25 Apr 2017 10:59:53 +0530 Subject: [PATCH] #654 : Fixing Android policy view and policy edit doesn't honor isCloud enabled parameter --- .../public/templates/android-policy-edit.hbs | 4 ++++ .../public/templates/android-policy-view.hbs | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/components/mobile-plugins/android-plugin/org.wso2.carbon.device.mgt.mobile.android.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.device.type.android.policy-edit/public/templates/android-policy-edit.hbs b/components/mobile-plugins/android-plugin/org.wso2.carbon.device.mgt.mobile.android.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.device.type.android.policy-edit/public/templates/android-policy-edit.hbs index 498558a28..62ab1f6f6 100644 --- a/components/mobile-plugins/android-plugin/org.wso2.carbon.device.mgt.mobile.android.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.device.type.android.policy-edit/public/templates/android-policy-edit.hbs +++ b/components/mobile-plugins/android-plugin/org.wso2.carbon.device.mgt.mobile.android.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.device.type.android.policy-edit/public/templates/android-policy-edit.hbs @@ -65,6 +65,7 @@ + {{#unless iscloud}} @@ -107,6 +108,7 @@ + {{/unless}}
@@ -302,6 +304,7 @@
+ {{#unless iscloud}}

+ {{/unless}} diff --git a/components/mobile-plugins/android-plugin/org.wso2.carbon.device.mgt.mobile.android.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.device.type.android.policy-view/public/templates/android-policy-view.hbs b/components/mobile-plugins/android-plugin/org.wso2.carbon.device.mgt.mobile.android.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.device.type.android.policy-view/public/templates/android-policy-view.hbs index 2037c9c1c..07fe6950b 100644 --- a/components/mobile-plugins/android-plugin/org.wso2.carbon.device.mgt.mobile.android.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.device.type.android.policy-view/public/templates/android-policy-view.hbs +++ b/components/mobile-plugins/android-plugin/org.wso2.carbon.device.mgt.mobile.android.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.device.type.android.policy-view/public/templates/android-policy-view.hbs @@ -48,6 +48,7 @@ + {{#unless iscloud}} @@ -90,6 +91,7 @@ + {{/unless}}
@@ -287,6 +289,7 @@
+ {{#unless iscloud}}
Bellow restrictions will be applied on devices with Android version 5.0 Lollipop onwards only @@ -701,6 +704,7 @@
+ {{/unless}}