From bff3b3ee12c39f42c8c5d3de566772e219230e7f Mon Sep 17 00:00:00 2001 From: dilanua Date: Thu, 22 Sep 2016 19:45:29 +0530 Subject: [PATCH] Fix for JIRA: https://wso2.org/jira/browse/EMM-1610 --- .../app/units/mdm.unit.device.view/view.hbs | 509 +++++++++--------- .../app/units/mdm.unit.device.view/view.js | 4 + 2 files changed, 264 insertions(+), 249 deletions(-) diff --git a/components/mobile-plugins/mobile-base-plugin/org.wso2.carbon.device.mgt.mobile.ui/src/main/resources/jaggeryapps/devicemgt/app/units/mdm.unit.device.view/view.hbs b/components/mobile-plugins/mobile-base-plugin/org.wso2.carbon.device.mgt.mobile.ui/src/main/resources/jaggeryapps/devicemgt/app/units/mdm.unit.device.view/view.hbs index 862ef44fd..67f86d7b5 100644 --- a/components/mobile-plugins/mobile-base-plugin/org.wso2.carbon.device.mgt.mobile.ui/src/main/resources/jaggeryapps/devicemgt/app/units/mdm.unit.device.view/view.hbs +++ b/components/mobile-plugins/mobile-base-plugin/org.wso2.carbon.device.mgt.mobile.ui/src/main/resources/jaggeryapps/devicemgt/app/units/mdm.unit.device.view/view.hbs @@ -3,16 +3,17 @@ {{unit "mdm.unit.device.qr-modal"}} {{#zone "content"}} - {{#if isAuthorized}} -

- Device {{device.name}} - {{#if device.viewModel.model}} - + {{#if deviceFound}} + {{#if isAuthorized}} +

+ Device {{device.name}} + {{#if device.viewModel.model}} + ( {{device.viewModel.vendor}} {{device.viewModel.model}} ) - {{/if}} -

-
+ {{/if}} +

+
@@ -72,304 +73,314 @@
-
- - {{#defineZone "device-detail-properties"}} -
-
- +
+ + {{#defineZone "device-detail-properties"}} +
+
+ -
-