mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
aae0484458
GitOrigin-RevId: c947041ca99860d4afb62ecfd28ba6fe1c717bfc
44 lines
1.3 KiB
Text
44 lines
1.3 KiB
Text
extends ../layout
|
|
|
|
include ./dashboard/_team_name_mixin
|
|
|
|
block content
|
|
.content.content-alt(ng-cloak)
|
|
.container
|
|
.row
|
|
.col-md-8.col-md-offset-2
|
|
.card
|
|
.page-header
|
|
h1 #{translate("your_subscription")}
|
|
|
|
-var hasAnySubscription = false
|
|
-if (personalSubscription)
|
|
-hasAnySubscription = true
|
|
include ./dashboard/_personal_subscription
|
|
|
|
-if (managedGroupSubscriptions && managedGroupSubscriptions.length > 0)
|
|
-hasAnySubscription = true
|
|
include ./dashboard/_managed_groups
|
|
|
|
-if (managedInstitutions && managedInstitutions.length > 0)
|
|
-hasAnySubscription = true
|
|
include ./dashboard/_managed_institutions
|
|
|
|
-if (memberGroupSubscriptions && memberGroupSubscriptions.length > 0)
|
|
-hasAnySubscription = true
|
|
include ./dashboard/_group_memberships
|
|
|
|
-if (confirmedMemberInstitutions && confirmedMemberInstitutions.length > 0)
|
|
-hasAnySubscription = true
|
|
include ./dashboard/_institution_memberships
|
|
|
|
-if (settings.overleaf && v1Subscriptions)
|
|
include ./dashboard/_v1_subscriptions
|
|
|
|
-if (v1SubscriptionStatus)
|
|
include ./dashboard/_v1_subscription_status
|
|
|
|
-if (!hasAnySubscription)
|
|
p You're on the #{settings.appName} Free plan.
|
|
|
|
|
a(href="/user/subscription/plans").btn.btn-primary Upgrade now
|