|
|
@ -75,6 +75,7 @@ function onRequest(context) {
|
|
|
|
//change menu item name
|
|
|
|
//change menu item name
|
|
|
|
delete viewModal.Main.Account.color;
|
|
|
|
delete viewModal.Main.Account.color;
|
|
|
|
delete viewModal.Main.Account["Request Extension"];
|
|
|
|
delete viewModal.Main.Account["Request Extension"];
|
|
|
|
|
|
|
|
viewModal.Main.Account.label = "Account";
|
|
|
|
} else if (!billingInfo.isPaidAccount) {
|
|
|
|
} else if (!billingInfo.isPaidAccount) {
|
|
|
|
var accountContent = "Account";
|
|
|
|
var accountContent = "Account";
|
|
|
|
if (billingInfo.billingPlanStatus === status.ACTIVE || billingInfo.billingPlanStatus === status.EXTENDED) {
|
|
|
|
if (billingInfo.billingPlanStatus === status.ACTIVE || billingInfo.billingPlanStatus === status.EXTENDED) {
|
|
|
@ -92,7 +93,7 @@ function onRequest(context) {
|
|
|
|
} else if (billingInfo.billingPlanStatus === status.INACTIVE) {
|
|
|
|
} else if (billingInfo.billingPlanStatus === status.INACTIVE) {
|
|
|
|
isExpired = false;
|
|
|
|
isExpired = false;
|
|
|
|
isTrial = true;
|
|
|
|
isTrial = true;
|
|
|
|
accountContent = "Trial " + (trialPeriod) + " days tade";
|
|
|
|
accountContent = "Trial " + (trialPeriod) + " days to upgrade";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
//change menu item name
|
|
|
|
//change menu item name
|
|
|
|
viewModal.Main.Account.label = accountContent;
|
|
|
|
viewModal.Main.Account.label = accountContent;
|
|
|
@ -221,4 +222,4 @@ function onRequest(context) {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return 0;
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|