mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
fix which plan is "your plan" on dashboard
This commit is contained in:
parent
2bbdea3433
commit
58f6ae323b
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ mixin printPlan(plan)
|
||||||
td
|
td
|
||||||
-if (subscription.state == "free-trial")
|
-if (subscription.state == "free-trial")
|
||||||
a(href="/user/subscription/new?planCode=#{plan.planCode}").btn.btn-success #{translate("subscribe_to_this_plan")}
|
a(href="/user/subscription/new?planCode=#{plan.planCode}").btn.btn-success #{translate("subscribe_to_this_plan")}
|
||||||
-else if (plan.planCode == subscription.planCode)
|
-else if (typeof(subscription.planCode) != "undefined" && plan.planCode == subscription.planCode.split("_")[0])
|
||||||
button.btn.disabled #{translate("your_plan")}
|
button.btn.disabled #{translate("your_plan")}
|
||||||
-else
|
-else
|
||||||
form
|
form
|
||||||
|
|
Loading…
Reference in a new issue