mirror of https://github.com/zulip/zulip.git
corporate: Shorten plan status strings.
This commit is contained in:
parent
e4a3b1b1a3
commit
649cc15220
|
@ -318,12 +318,12 @@ class CustomerPlan(models.Model):
|
||||||
def get_plan_status_as_text(self) -> str:
|
def get_plan_status_as_text(self) -> str:
|
||||||
return {
|
return {
|
||||||
self.ACTIVE: "Active",
|
self.ACTIVE: "Active",
|
||||||
self.DOWNGRADE_AT_END_OF_CYCLE: "Scheduled for downgrade at end of cycle",
|
self.DOWNGRADE_AT_END_OF_CYCLE: "Downgrade end of cycle",
|
||||||
self.FREE_TRIAL: "Free trial",
|
self.FREE_TRIAL: "Free trial",
|
||||||
self.SWITCH_TO_ANNUAL_AT_END_OF_CYCLE: "Scheduled for switch to annual at end of cycle",
|
self.SWITCH_TO_ANNUAL_AT_END_OF_CYCLE: "Scheduled switch to annual",
|
||||||
self.SWITCH_TO_MONTHLY_AT_END_OF_CYCLE: "Scheduled for switch to monthly at end of cycle",
|
self.SWITCH_TO_MONTHLY_AT_END_OF_CYCLE: "Scheduled switch to monthly",
|
||||||
self.DOWNGRADE_AT_END_OF_FREE_TRIAL: "Scheduled for downgrade at end of free trial",
|
self.DOWNGRADE_AT_END_OF_FREE_TRIAL: "Downgrade end of free trial",
|
||||||
self.SWITCH_PLAN_TIER_AT_PLAN_END: "Scheduled for switch to new plan at the end of plan",
|
self.SWITCH_PLAN_TIER_AT_PLAN_END: "New plan scheduled",
|
||||||
self.ENDED: "Ended",
|
self.ENDED: "Ended",
|
||||||
self.NEVER_STARTED: "Never started",
|
self.NEVER_STARTED: "Never started",
|
||||||
}[self.status]
|
}[self.status]
|
||||||
|
|
Loading…
Reference in New Issue