diff --git a/components/mobile-plugins/mobile-base-plugin/org.wso2.carbon.device.mgt.mobile.ui/src/main/resources/jaggeryapps/devicemgt/app/pages/mdm.page.dashboard/dashboard.hbs b/components/mobile-plugins/mobile-base-plugin/org.wso2.carbon.device.mgt.mobile.ui/src/main/resources/jaggeryapps/devicemgt/app/pages/mdm.page.dashboard/dashboard.hbs index a9db9b356..ab6f5902b 100644 --- a/components/mobile-plugins/mobile-base-plugin/org.wso2.carbon.device.mgt.mobile.ui/src/main/resources/jaggeryapps/devicemgt/app/pages/mdm.page.dashboard/dashboard.hbs +++ b/components/mobile-plugins/mobile-base-plugin/org.wso2.carbon.device.mgt.mobile.ui/src/main/resources/jaggeryapps/devicemgt/app/pages/mdm.page.dashboard/dashboard.hbs @@ -12,7 +12,7 @@ <div class="tile-stats"> <span id="device-count" data-device-count="true">Loading...</span> <span class="tile-stats-free"> - <a id="device-count-view-btn" href="/emm/devices"> + <a id="device-count-view-btn" href="{{@app.context}}/devices"> <span class="fw-stack"> <i class="fw fw-ring fw-stack-2x"></i> <i class="fw fw-view fw-stack-1x"></i> @@ -41,7 +41,7 @@ <div class="tile-stats"> <span id="policy-count" data-policy-count="true">Loading...</span> <span class="tile-stats-free"> - <a id="policy-count-view-btn" href="/emm/policies/"> + <a id="policy-count-view-btn" href="{{@app.context}}/policies/"> <span class="fw-stack"> <i class="fw fw-ring fw-stack-2x"></i> <i class="fw fw-view fw-stack-1x"></i> @@ -49,7 +49,7 @@ View </a> {{#if permissions.ADD_POLICY}} - <a href="/emm/policy/add"> + <a href="{{@app.context}}/policy/add"> <span class="fw-stack"> <i class="fw fw-ring fw-stack-2x"></i> <i class="fw fw-add fw-stack-1x"></i> @@ -72,7 +72,7 @@ <div class="tile-stats"> <span id="user-count" data-user-count="true">Loading...</span> <span class="tile-stats-free"> - <a id="user-count-view-btn" href="/emm/users/"> + <a id="user-count-view-btn" href="{{@app.context}}/users/"> <span class="fw-stack"> <i class="fw fw-ring fw-stack-2x"></i> <i class="fw fw-view fw-stack-1x"></i> @@ -80,7 +80,7 @@ View </a> {{#if permissions.ADD_USER}} - <a href="/emm/user/add"> + <a href="{{@app.context}}/user/add"> <span class="fw-stack"> <i class="fw fw-ring fw-stack-2x"></i> <i class="fw fw-add fw-stack-1x"></i> @@ -103,7 +103,7 @@ <div class="tile-stats"> <span id="role-count" data-role-count="true">Loading...</span> <span class="tile-stats-free"> - <a id="device-count-view-btn" href="/emm/roles"> + <a id="device-count-view-btn" href="{{@app.context}}/roles"> <span class="fw-stack"> <i class="fw fw-ring fw-stack-2x"></i> <i class="fw fw-view fw-stack-1x"></i> @@ -111,7 +111,7 @@ View </a> {{#if permissions.ADD_ROLE}} - <a href="/emm/role/add"> + <a href="{{@app.context}}/role/add"> <span class="fw-stack"> <i class="fw fw-ring fw-stack-2x"></i> <i class="fw fw-add fw-stack-1x"></i>