overleaf/services/web/app/views/subscriptions/successful_subscription.pug

41 lines
2.4 KiB
Text
Raw Normal View History

2014-02-12 05:23:40 -05:00
extends ../layout
block content
- var featuresPageVariant= splitTestVariants && splitTestVariants['features-page'] ? splitTestVariants['features-page'] : 'default'
- var featuresLink = featuresPageVariant === 'new' ? "/about/features-overview" : "/learn/how-to/Overleaf_premium_features"
- var featuresTranslationKey = featuresPageVariant === 'new' ? 'get_most_subscription_by_checking_features' : 'get_most_subscription_by_checking_premium_features'
- var featuresLinkSegmentation = {splitTest: 'features-page', splitTestVariant: featuresPageVariant}
main.content.content-alt#main-content
.container
2014-07-07 08:43:36 -04:00
.row
.col-md-8.col-md-offset-2
.card(ng-cloak)
2014-07-07 08:43:36 -04:00
.page-header
2014-08-01 07:34:53 -04:00
h2 #{translate("thanks_for_subscribing")}
2014-07-07 08:43:36 -04:00
.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
2016-11-02 06:09:02 -04:00
p #{translate("to_modify_your_subscription_go_to")}
a(href="/user/subscription") #{translate("manage_subscription")}.
2014-07-07 08:43:36 -04:00
p
if (personalSubscription.groupPlan == true)
a.btn.btn-primary.btn-large(href=`/manage/groups/${personalSubscription._id}/members`) #{translate("add_your_first_group_member_now")}
2014-07-07 08:43:36 -04:00
p.letter-from-founders
p #{translate("thanks_for_subscribing_you_help_sl", {planName:personalSubscription.plan.name})}
p !{translate(featuresTranslationKey, {}, [{name: 'a', attrs: {href: featuresLink, 'event-tracking':'features-page-link', 'event-tracking-trigger': 'click', 'event-tracking-mb': 'true', 'event-segmentation': featuresLinkSegmentation}}])}
2014-08-01 07:34:53 -04:00
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'}}])}
2014-08-01 07:34:53 -04:00
p #{translate("regards")},
br(ng-non-bindable)
| The #{settings.appName} Team
2014-07-07 08:43:36 -04:00
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")}