- {{unit "cdmf.unit.device.details" device=device}}
+ {{/if}}
+
-
Policies
-
-
-
-
-
-
- Loading Policies . . .
-
-
-
-
-
- No policies found
+ {{#defineZone "device-detail-properties"}}
+
+
+
+
+ {{#if deviceView.isNotWindows}}
+
+
+
Device Details
+
+
+
+
+ {{#equal deviceView.deviceType "windows"}}
+
+
Not
+ available yet
+
+ {{/equal}}
+ {{#if deviceView.deviceInfoAvailable}}
+ {{#if deviceView.BatteryLevel}}
+
+
+
+
BATTERY
+
+
+
+ {{deviceView.BatteryLevel.value}} %
+
+
+
+
+
+ {{/if}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{#if deviceView.ramUsage}}
+
+
+
+
RAM Usage
+
+
+
+ {{deviceView.ramUsage.value}} %
+
+
+
+
+
+ {{/if}}
+ {{#if deviceView.internalMemory}}
+
+
+
+
Local Storage
+
+
+
+
+ {{deviceView.internalMemory.usage}} %
+
+ TOTAL OF {{deviceView.internalMemory.total}} GB
+
+
+
+
+
+
+ {{/if}}
+ {{#if deviceView.externalMemory}}
+
+
+
+
External Storage
+
+
+
+ {{deviceView.externalMemory.usage}} %
+
+ TOTAL OF {{deviceView.externalMemory.total}} GB
+
+
+
+
+
+
+ {{/if}}
+ {{else}}
+
+
+
+ Battery, RAM and Storage related information are not
+ available yet.
+
+
+ {{/if}}
+
+
+
+
+ {{/if}}
+
+
+
+
+ Policy Compliance
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Loading Policy
+ Compliance...
+
+
+
+
+
-
-
-
-
-
-
-
- Add device specific policy
-
+
+
+
Device Location
+
+
+ {{#if deviceView.location}}
+
+
+ {{else}}
+
+
+
+ Device location information is not available.
+
+
+
+
+
+ {{/if}}
+
+
+
+
+
+
+ Installed Applications
-
-
-
-
-
-
-
-
- Loading Policy Compliance . . .
-
-
-
-
-
- Not available yet
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Loading Applications
+ List...
+
+
+
+
+
+ No applications found.
+
+
Please try refreshing in a while.
+
+
+
+
-
-
-
-
-
-
Device Location
-
-
-
-
- Not available yet
-
-
-
-
-
-
-
-
-
-
-
-
- Loading Operations Log . . .
-
-
-
-
-
- Not available yet
+
+
+
+ Operations Log
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Loading Operations Log...
+
+
+
+
+
+ There are no operations, performed yet on this device.
+
+
+
+
+
+
+ Operation Code |
+ Status |
+ Request created at |
+
+
+
+
+
+
+
-
-
+ {{/defineZone}}
-
- {{/defineZone}}
-
+ {{else}}
+
+ Permission Denied
+
+
+ You are not authorized to view specified device in the system.
+ {{/if}}
+ {{else}}
+
+ Device not found
+
+
+ You have tried to access either a removed or non-existing device.
+ {{/if}}
{{/zone}}
{{#zone "bottomJs"}}
- {{js "js/device-view.js"}}
-
-
-
-
+ {{#if isAuthorized}}
+
+
+
+
+
+
+ {{js "js/device-detail.js"}}
+
+ {{js "js/load-map.js"}}
+ {{/if}}
{{/zone}}
\ No newline at end of file
diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.notification.listing/listing.hbs b/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.notification.listing/listing.hbs
index 9e05b2c4ca6..b0ca5a7e98a 100644
--- a/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.notification.listing/listing.hbs
+++ b/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.notification.listing/listing.hbs
@@ -43,7 +43,7 @@
-
diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.notification.listing/public/js/notification-listing.js b/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.notification.listing/public/js/notification-listing.js
index a68e69d7bbe..9c4182dcbb7 100644
--- a/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.notification.listing/public/js/notification-listing.js
+++ b/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.notification.listing/public/js/notification-listing.js
@@ -66,11 +66,11 @@ function showAdvanceOperation(operation, button) {
$(button).addClass('selected');
$(button).siblings().removeClass('selected');
if ($(button).attr("id") == 'allNotifications') {
- $("#ast-container").html('
You do not have any unread notifications
');
+ $("#noNotificationtxt").html('You do not have any unread notifications ');
} else if ($(button).attr("id") == 'unReadNotifications') {
- $("#ast-container").html('
You do not have any notifications
');
+ $("#noNotificationtxt").html('You do not have any notifications ');
} else {
- $("#ast-container").html('
You do not have any notifications
');
+ $("#noNotificationtxt").html('You do not have any notifications ');
}
var hiddenOperation = ".wr-hidden-operations-content > div";
$(hiddenOperation + '[data-operation="' + operation + '"]').show();