From 04f1f9fb42a773b6e2e15bd8ff9b182e14f9dedb Mon Sep 17 00:00:00 2001 From: Rasika Perera Date: Fri, 11 Aug 2017 14:40:01 +0530 Subject: [PATCH] Update user-menu.js --- .../units/cdmf.unit.ui.header.cloud.user-menu/user-menu.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.ui.header.cloud.user-menu/user-menu.js b/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.ui.header.cloud.user-menu/user-menu.js index b31ccca7c4..f827f4bc15 100644 --- a/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.ui.header.cloud.user-menu/user-menu.js +++ b/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.ui.header.cloud.user-menu/user-menu.js @@ -75,6 +75,7 @@ function onRequest(context) { //change menu item name delete viewModal.Main.Account.color; delete viewModal.Main.Account["Request Extension"]; + viewModal.Main.Account.label = "Account"; } else if (!billingInfo.isPaidAccount) { var accountContent = "Account"; if (billingInfo.billingPlanStatus === status.ACTIVE || billingInfo.billingPlanStatus === status.EXTENDED) { @@ -92,7 +93,7 @@ function onRequest(context) { } else if (billingInfo.billingPlanStatus === status.INACTIVE) { isExpired = false; isTrial = true; - accountContent = "Trial " + (trialPeriod) + " days tade"; + accountContent = "Trial " + (trialPeriod) + " days to upgrade"; } //change menu item name viewModal.Main.Account.label = accountContent; @@ -221,4 +222,4 @@ function onRequest(context) { } return 0; } -} \ No newline at end of file +}