mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-04 14:49:01 +02:00
0f1c732d15
Refactor subscription dashboard GitOrigin-RevId: 3573822b8b48c7181c661b2c253d7713f4a4328c
16 lines
532 B
Plaintext
16 lines
532 B
Plaintext
- if (v1Subscriptions.has_subscription)
|
|
-hasAnySubscription = true
|
|
p
|
|
| You are subscribed to Overleaf through Overleaf v1
|
|
p
|
|
a.btn.btn-primary(href='/sign_in_to_v1?return_to=/users/edit%23status') Manage v1 Subscription
|
|
hr
|
|
|
|
- if (v1Subscriptions.teams && v1Subscriptions.teams.length > 0)
|
|
-hasAnySubscription = true
|
|
for team in v1Subscriptions.teams
|
|
p
|
|
| You are a member of the Overleaf v1 team: <strong>#{team.name}</strong>
|
|
p
|
|
a.btn.btn-primary(href="/sign_in_to_v1?return_to=/teams") Manage v1 Team Membership
|
|
hr |