mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Merge pull request #1415 from sharelatex/ta-trial-fix
Check if Trial is Current in Subscription Page GitOrigin-RevId: 7a7f562d321bc0f3a952c37f799760a7d42b7ba1
This commit is contained in:
parent
126edeb4bb
commit
5169b4a73f
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ div(ng-controller="RecurlySubscriptionController")
|
|||
when "active"
|
||||
p !{translate("currently_subscribed_to_plan", {planName:"<strong>" + personalSubscription.plan.name + "</strong>"})}
|
||||
a(href, ng-click="switchToChangePlanView()", ng-if="showChangePlanButton") !{translate("change_plan")}.
|
||||
-if (personalSubscription.recurly.trialEndsAtFormatted)
|
||||
-if (personalSubscription.recurly.trialEndsAtFormatted && personalSubscription.recurly.trial_ends_at > Date.now())
|
||||
p You're on a free trial which ends on <strong>#{personalSubscription.recurly.trialEndsAtFormatted}</strong>
|
||||
p !{translate("next_payment_of_x_collectected_on_y", {paymentAmmount:"<strong>" + personalSubscription.recurly.price + "</strong>", collectionDate:"<strong>" + personalSubscription.recurly.nextPaymentDueAt + "</strong>"})}
|
||||
p.pull-right
|
||||
|
|
Loading…
Reference in a new issue