mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
db9fad7cf8
* Add onboarding survey page * Add onboarding new analytics events to mixpanel allowlist * [web] Try Premium prompt * moved try-premium code to overleaf-integration * fixed sheet styling * Add onboarding flow redirect handling to registration handlers (#9462) * Add redirect logic for onboarding flow after registration * Update UPGRADE_PROMPT_URL * Cleanup style of OverleafAuthenticationController * Refactor finishLogin calls to call wrapped function in OverleafAuthenticationController * Refactor user properties/onboarding flow redirect into finishLogin wrapper * Fix async/await calls after refactoring * Update tests for finishLogin refactoring * Don't redirect to upgrade prompt if user has premium via commons Co-authored-by: Miguel Serrano <mserranom@users.noreply.github.com> GitOrigin-RevId: 7c392aa6949f99fa909f9ca4e4baad4c4d4ff6be
36 lines
1.9 KiB
Text
36 lines
1.9 KiB
Text
extends ../layout
|
|
|
|
block content
|
|
main.content.content-alt#main-content
|
|
.container
|
|
.row
|
|
.col-md-8.col-md-offset-2
|
|
.card(ng-cloak)
|
|
.page-header
|
|
h2 #{translate("thanks_for_subscribing")}
|
|
|
|
.alert.alert-success
|
|
if (personalSubscription.recurly.trial_ends_at)
|
|
p !{translate("next_payment_of_x_collectected_on_y", {paymentAmmount: personalSubscription.recurly.displayPrice, collectionDate: personalSubscription.recurly.nextPaymentDueAt}, ['strong', 'strong'])}
|
|
include ./_price_exceptions
|
|
p #{translate("to_modify_your_subscription_go_to")}
|
|
a(href="/user/subscription") #{translate("manage_subscription")}.
|
|
p
|
|
if (personalSubscription.groupPlan == true)
|
|
a.btn.btn-success.btn-large(href=`/manage/groups/${personalSubscription._id}/members`) #{translate("add_your_first_group_member_now")}
|
|
p.letter-from-founders
|
|
p #{translate("thanks_for_subscribing_you_help_sl", {planName:personalSubscription.plan.name})}
|
|
if premiumFeaturesDiscoverability
|
|
p !{translate("get_most_subscription_by_checking_premium_features", {}, [{name: 'a', attrs: {href: 'https://www.overleaf.com/learn/how-to/Overleaf_premium_features'}}])}
|
|
p #{translate("need_anything_contact_us_at")}
|
|
a(href=`mailto:${settings.adminEmail}`, ng-non-bindable) #{settings.adminEmail}
|
|
| .
|
|
p !{translate("help_improve_overleaf_fill_out_this_survey", {}, [{name: 'a', attrs: {href: 'https://forms.gle/CdLNX9m6NLxkv1yr5', target:'_blank', rel:'noopener noreferrer'}}])}
|
|
p #{translate("regards")},
|
|
br(ng-non-bindable)
|
|
| The #{settings.appName} Team
|
|
p
|
|
if (postCheckoutRedirect)
|
|
a.btn.btn-primary(href=postCheckoutRedirect) < #{translate("back_to_your_projects")}
|
|
else
|
|
a.btn.btn-primary(href="/project") < #{translate("back_to_your_projects")}
|