From 20e3501be7386fb3007cf67879b9ca6b0b08e147 Mon Sep 17 00:00:00 2001 From: Rasika Date: Mon, 1 Jun 2015 16:08:52 +0530 Subject: [PATCH] show no device message when no devices connected --- .../jaggeryapps/iot/units/alldevices/alldevices.hbs | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/modules/distribution/src/repository/jaggeryapps/iot/units/alldevices/alldevices.hbs b/modules/distribution/src/repository/jaggeryapps/iot/units/alldevices/alldevices.hbs index 8e3cdc7d..eec368e3 100644 --- a/modules/distribution/src/repository/jaggeryapps/iot/units/alldevices/alldevices.hbs +++ b/modules/distribution/src/repository/jaggeryapps/iot/units/alldevices/alldevices.hbs @@ -20,6 +20,7 @@
+ {{#if devices.device}} {{#each devices.device}} {{deviceIdentifier}} @@ -38,6 +39,14 @@ {{/each}} + {{else}} + + + + No Devices available. + + + {{/if}}