mirror of
https://github.com/overleaf/overleaf.git
synced 2025-01-24 08:30:44 +00:00
Merge pull request #1486 from sharelatex/ta-subscription-dash-fix
Fix Subscirption Dashboard Messaging GitOrigin-RevId: 601b0df74c6f9f6bcc1c3ba6ecbf64721bc6fb99
This commit is contained in:
parent
7dcc807caf
commit
255981bdc2
1 changed files with 10 additions and 10 deletions
|
@ -38,13 +38,13 @@ block content
|
|||
-if (v1SubscriptionStatus)
|
||||
include ./dashboard/_v1_subscription_status
|
||||
|
||||
-if (hasSubscription && !hasDisplayedSubscription)
|
||||
-hasDisplayedSubscription = true
|
||||
p You're on an #{settings.appName} Paid plan. Contact
|
||||
a(href="mailto:support@overleaf.com") support@overleaf.com
|
||||
| to find out more.
|
||||
|
||||
-if (!hasSubscription)
|
||||
p You're on the #{settings.appName} Free plan.
|
||||
|
|
||||
a(href="/user/subscription/plans").btn.btn-primary Upgrade now
|
||||
-if (!hasDisplayedSubscription)
|
||||
-if (hasSubscription)
|
||||
-hasDisplayedSubscription = true
|
||||
p You're on an #{settings.appName} Paid plan. Contact
|
||||
a(href="mailto:support@overleaf.com") support@overleaf.com
|
||||
| to find out more.
|
||||
-else
|
||||
p You're on the #{settings.appName} Free plan.
|
||||
|
|
||||
a(href="/user/subscription/plans").btn.btn-primary Upgrade now
|
||||
|
|
Loading…
Reference in a new issue