diff --git a/components/device-types/raspberrypi-plugin/org.wso2.carbon.device.mgt.iot.raspberrypi.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.device.type.raspberrypi.device-view/device-view.hbs b/components/device-types/raspberrypi-plugin/org.wso2.carbon.device.mgt.iot.raspberrypi.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.device.type.raspberrypi.device-view/device-view.hbs index 8f77b561b..86e345235 100644 --- a/components/device-types/raspberrypi-plugin/org.wso2.carbon.device.mgt.iot.raspberrypi.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.device.type.raspberrypi.device-view/device-view.hbs +++ b/components/device-types/raspberrypi-plugin/org.wso2.carbon.device.mgt.iot.raspberrypi.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.device.type.raspberrypi.device-view/device-view.hbs @@ -24,15 +24,38 @@ {{/zone}} {{#zone "device-thumbnail"}} - + +{{/zone}} + +{{#zone "device-details-header"}} +
{{device.BatteryLevel.value}}%
+ {{/if}} + {{#if device.ramUsage}} +{{device.ramUsage.value}}%
+ {{/if}} + {{#if device.internalMemory}} +{{device.internalMemory.usage}} + GB/{{device.internalMemory.total}}GB
+ {{/if}} + {{#if device.externalMemory}} +{{device.externalMemory.usage}} + GB/{{device.externalMemory.total}}GB
+ {{/if}} + {{else}} +Battery, RAM and Storage related information are not + available yet.
{{/if}} - {{#if device.ramUsage}} -{{device.ramUsage.value}}%
- {{/if}} - {{#if device.internalMemory}} -{{device.internalMemory.usage}} - GB/{{device.internalMemory.total}}GB
- {{/if}} - {{#if device.externalMemory}} -{{device.externalMemory.usage}} - GB/{{device.externalMemory.total}}GB
- {{/if}} - {{else}} -Battery, RAM and Storage related information are not - available yet.
- {{/if}} +