From 8bd20911fe8db6cfccdb5b2f09e2da3f57d3f304 Mon Sep 17 00:00:00 2001 From: dilanua Date: Fri, 23 Sep 2016 12:28:15 +0530 Subject: [PATCH] Refactoring application list view for improper text placement issues --- .../public/templates/applications-list.hbs | 30 ++++++++++--------- .../app/units/mdm.unit.device.view/view.hbs | 21 ++++++------- 2 files changed, 27 insertions(+), 24 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/public/templates/applications-list.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/public/templates/applications-list.hbs index 3b55136af..9831cff18 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/public/templates/applications-list.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/public/templates/applications-list.hbs @@ -1,29 +1,31 @@
{{#each applications}} - - {{#equal platform "android"}}{{/equal}} - {{#equal platform "ios"}}{{/equal}} - {{#equal platform "windows"}}{{/equal}} + {{#equal isActive true}} - - -  Active - + {{#equal platform "android"}}{{/equal}} + {{#equal platform "ios"}}{{/equal}} + {{#equal platform "windows"}}{{/equal}} {{name}} V:{{version}} + + Active + {{#if memoryUsage}} - Memory Usage - + Memory Usage + - ( {{memoryUsage}} Bytes ) - + ( {{memoryUsage}} Bytes ) + {{/if}} {{/equal}} {{#equal isActive false}} - {{name}} - V:{{version}} + {{#equal platform "android"}}{{/equal}} + {{#equal platform "ios"}}{{/equal}} + {{#equal platform "windows"}}{{/equal}} + {{name}} + V:{{version}} {{/equal}} {{/each}} 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 6cd497fc8..51a52044f 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 @@ -328,19 +328,20 @@
- - - - - + + + + +