From 1d1f399477aa6f154bee6455f02b367eccd8c7da Mon Sep 17 00:00:00 2001 From: Madawa Soysa Date: Mon, 5 Dec 2016 16:57:55 +0530 Subject: [PATCH] IOTS-322: Infroming users when device types are not installed Currently policy platfom selection page is empty if no device types are installed. This will add an meaningful message to user if no device types are added. This commit resolves IOTS-322 --- .../units/cdmf.unit.policy.create/create.hbs | 34 +++++++++++-------- 1 file changed, 20 insertions(+), 14 deletions(-) diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.policy.create/create.hbs b/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.policy.create/create.hbs index a39f6513789..09e414aa7bf 100644 --- a/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.policy.create/create.hbs +++ b/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.policy.create/create.hbs @@ -283,23 +283,29 @@ + {{#unless types}} +

No compatible device types have been installed. + Install device types to add policies.

+ {{/unless}}