From ed325ee57688b5c3841c44f5525c72a9e06bc701 Mon Sep 17 00:00:00 2001 From: Megala Date: Thu, 1 Dec 2016 16:41:35 +0530 Subject: [PATCH] Adding dashboard feature --- .../resources/jaggeryapps/devicemgt/app/conf/app-conf.json | 2 +- .../app/units/cdmf.unit.ui.navbar.nav-menu/nav-menu.hbs | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/conf/app-conf.json b/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/conf/app-conf.json index a64219b95dd..de8d82f5b9d 100644 --- a/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/conf/app-conf.json +++ b/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/conf/app-conf.json @@ -26,7 +26,7 @@ } }, "sso": { - "enabled": false, + "enabled": true, "issuer" : "devicemgt", "appName" : "devicemgt", "identityProviderUrl" : "https://localhost:9443/samlsso", diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.ui.navbar.nav-menu/nav-menu.hbs b/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.ui.navbar.nav-menu/nav-menu.hbs index e19fb188be4..3e2c747fef4 100644 --- a/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.ui.navbar.nav-menu/nav-menu.hbs +++ b/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.ui.navbar.nav-menu/nav-menu.hbs @@ -30,6 +30,13 @@ {{/if}} + {{#if permissions.VIEW_DASHBOARD}} +
  • + + Device Statistics + +
  • + {{/if}} {{#if permissions.LIST_GROUPS}}