From 359184429edbf4ce3eecc49c2e760362d1e7bf8d Mon Sep 17 00:00:00 2001 From: ayyoob Date: Fri, 5 May 2017 01:57:48 +0530 Subject: [PATCH] Added missing fixes that was done for multi tenancy in cloud branch --- .../type-view.hbs | 2 +- .../type-view.js | 17 +++-------------- .../type-view.hbs | 2 +- .../type-view.js | 17 ++--------------- .../type-view.hbs | 2 +- .../type-view.js | 17 ++--------------- .../type-view.hbs | 2 +- .../type-view.js | 17 ++--------------- .../type-view.hbs | 4 ++++ .../type-view.js | 17 ++--------------- .../src/main/resources/p2.inf | 5 +++-- .../src/main/resources/p2.inf | 3 ++- .../src/main/resources/p2.inf | 3 ++- .../src/main/resources/p2.inf | 3 ++- .../src/main/resources/p2.inf | 3 ++- .../src/main/resources/p2.inf | 3 ++- .../src/main/resources/p2.inf | 4 +++- 17 files changed, 35 insertions(+), 86 deletions(-) diff --git a/components/device-types/androidsense-plugin/org.wso2.carbon.device.mgt.iot.androidsense.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.device.type.android_sense.type-view/type-view.hbs b/components/device-types/androidsense-plugin/org.wso2.carbon.device.mgt.iot.androidsense.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.device.type.android_sense.type-view/type-view.hbs index 9c08451e9..a476d480f 100644 --- a/components/device-types/androidsense-plugin/org.wso2.carbon.device.mgt.iot.androidsense.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.device.type.android_sense.type-view/type-view.hbs +++ b/components/device-types/androidsense-plugin/org.wso2.carbon.device.mgt.iot.androidsense.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.device.type.android_sense.type-view/type-view.hbs @@ -41,7 +41,7 @@ Enroll Device Download APK Invite by Email - {{#if displayStatus}} + {{#if permissions.IS_ADMIN}} Deploy Analytics Artifacts {{/if}}