File tree Expand file tree Collapse file tree 2 files changed +25
-5
lines changed
src/modules/settings/pages Expand file tree Collapse file tree 2 files changed +25
-5
lines changed Original file line number Diff line number Diff line change 61
61
</div >
62
62
63
63
<div
64
- class =" flex flex-col gap-4 text-gray-900 text-xs mb-12 "
64
+ class =" flex flex-col gap-4 text-gray-900 text-xs mb-10 "
65
65
>
66
66
<div v-if =" plan.featuresNote" >
67
67
{{ plan.featuresNote }}
82
82
</div >
83
83
</div >
84
84
85
- <div class =" text-center" >
85
+ <div
86
+ class =" text-center flex flex-col justify-end"
87
+ :class =" {
88
+ 'min-h-10': !isGrowthTrialPlan,
89
+ 'min-h-[110px]': isGrowthTrialPlan
90
+ }"
91
+ >
86
92
<div
87
93
v-if ="
88
94
plan.key === crowdHostedPlans.growth &&
89
95
isGrowthTrialPlan
90
96
"
91
97
class =" text-gray-500 text-xs italic mb-3"
92
98
>
93
- {{ getTrialDate() }}
99
+ <span class =" font-medium" >{{
100
+ getTrialDate()
101
+ }}</span
102
+ ><br />
103
+ <span
104
+ >If you don't take action, you will be
105
+ automatically downgraded to Essential.</span
106
+ >
94
107
</div >
95
108
<el-button
96
109
v-if ="
97
- plan.key !== activePlan || isGrowthTrialPlan
110
+ (plan.key !== activePlan ||
111
+ isGrowthTrialPlan) &&
112
+ !(
113
+ plan.key === crowdHostedPlans.essential &&
114
+ isGrowthTrialPlan
115
+ )
98
116
"
99
117
class =" btn btn--md btn--full btn--primary"
100
118
@click =" () => handleOnCtaClick(plan.key)"
@@ -267,7 +285,9 @@ const getTrialDate = () => {
267
285
currentTenant .value .trialEndsAt
268
286
).diff (moment (), ' days' )
269
287
270
- return ` Trial ends in ${ daysLeft < 0 ? 0 : daysLeft} days`
288
+ return ` Growth Trial ends in ${
289
+ daysLeft < 0 ? 0 : daysLeft
290
+ } days.`
271
291
}
272
292
</script >
273
293
You can’t perform that action at this time.
0 commit comments