From fb12c3cb04d582fcde9afbba3e2e9db2ea436882 Mon Sep 17 00:00:00 2001 From: Rasika Perera Date: Wed, 5 Jul 2017 07:17:26 +0530 Subject: [PATCH 1/3] Fixing https://github.com/wso2/product-iots/issues/1096: i.e. colombo -> e.g. colombo --- .../app/units/cdmf.unit.geo-dashboard/geo-dashboard.hbs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.geo-dashboard/geo-dashboard.hbs b/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.geo-dashboard/geo-dashboard.hbs index 906eb5c0763..4fe6e70fd3a 100644 --- a/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.geo-dashboard/geo-dashboard.hbs +++ b/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.geo-dashboard/geo-dashboard.hbs @@ -526,7 +526,7 @@
- Name of the selected area(i.e colombo) + Name of the selected area(e.g. colombo)
@@ -557,7 +557,7 @@
- Name of the selected area(i.e colombo) + Name of the selected area(e.g. colombo)
@@ -589,7 +589,7 @@
- Name of the selected area(i.e colombo) + Name of the selected area(e.g. colombo) @@ -626,7 +626,7 @@
- Name of the selected area(i.e colombo) + Name of the selected area(e.g. colombo)
From 7bc3ab7bec55393bd3d8eefce4b2597d694220ba Mon Sep 17 00:00:00 2001 From: Rasika Perera Date: Wed, 5 Jul 2017 07:17:52 +0530 Subject: [PATCH 2/3] Fixing https://github.com/wso2/product-iots/issues/1096: Stationery -> Stationary --- .../assets/html_templates/modal/stationery_alert.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.geo-dashboard/public/assets/html_templates/modal/stationery_alert.html b/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.geo-dashboard/public/assets/html_templates/modal/stationery_alert.html index 56b5c79cda6..37b617e58d5 100644 --- a/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.geo-dashboard/public/assets/html_templates/modal/stationery_alert.html +++ b/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.geo-dashboard/public/assets/html_templates/modal/stationery_alert.html @@ -34,7 +34,7 @@

- Set 'Stationery' alerts + Set 'Stationary' alerts

@@ -46,8 +46,8 @@ - - + + From f8fa314359e498b388369ccc8fee12bccb278c9e Mon Sep 17 00:00:00 2001 From: Rasika Perera Date: Wed, 5 Jul 2017 10:49:55 +0530 Subject: [PATCH 3/3] Fixing https://github.com/wso2/product-iots/issues/1096: Hiding table when no alerts avaialble --- .../units/cdmf.unit.geo-dashboard/public/js/geo_exit_fence.js | 1 + .../units/cdmf.unit.geo-dashboard/public/js/geo_stationary.js | 1 + .../app/units/cdmf.unit.geo-dashboard/public/js/geo_within.js | 1 + 3 files changed, 3 insertions(+) diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.geo-dashboard/public/js/geo_exit_fence.js b/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.geo-dashboard/public/js/geo_exit_fence.js index cdcfb415683..8169e136c13 100644 --- a/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.geo-dashboard/public/js/geo_exit_fence.js +++ b/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.geo-dashboard/public/js/geo_exit_fence.js @@ -34,6 +34,7 @@ function initializeExit() { } } else{ $(".fence-not-exist").show(); + $("#exit-alert").hide(); } $('.viewGeoFenceRow td:not(:last-child)').click(function () { viewFence(this.parentElement,'Exit'); diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.geo-dashboard/public/js/geo_stationary.js b/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.geo-dashboard/public/js/geo_stationary.js index 6eee4234abc..99ddd9eecd5 100644 --- a/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.geo-dashboard/public/js/geo_stationary.js +++ b/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.geo-dashboard/public/js/geo_stationary.js @@ -38,6 +38,7 @@ function initStationaryAlert() { } } else{ $(".fence-not-exist").show(); + $("#stationary-alert-table").hide(); } $('.viewGeoFenceRow td:not(:last-child)').click(function () { viewFence(this.parentElement,'Stationery'); diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.geo-dashboard/public/js/geo_within.js b/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.geo-dashboard/public/js/geo_within.js index f4986075f5e..8640e05b8a3 100644 --- a/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.geo-dashboard/public/js/geo_within.js +++ b/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.geo-dashboard/public/js/geo_within.js @@ -34,6 +34,7 @@ function initializeWithin() { } } else{ $(".fence-not-exist").show(); + $("#within-alert").hide(); } $('.viewGeoFenceRow td:not(:last-child)').click(function () { viewFence(this.parentElement,'WithIn');
Stationery NameStationery TimeStationary NameStationary Time Fluctuation Radius Query Name Created On