Merge pull request #3574 from overleaf/hb-admin-improvements

Fix spacing issue on subscriptions page

GitOrigin-RevId: 7f071cb3050d93781c853a175512cd29caf9d594
This commit is contained in:
Hugh O'Brien 2021-02-03 10:23:10 +00:00 committed by Copybot
parent 0c873d9f63
commit 8d88b4ab5f

View file

@ -8,8 +8,8 @@ div(ng-controller="RecurlySubscriptionController")
case personalSubscription.recurly.state
when "active"
p !{translate("currently_subscribed_to_plan", {planName: personalSubscription.plan.name}, ['strong'])}
|
a(href, ng-click="switchToChangePlanView()", ng-if="showChangePlanButton")  !{translate("change_plan")}.
| 
a(href, ng-click="switchToChangePlanView()", ng-if="showChangePlanButton") !{translate("change_plan")}.
-if (personalSubscription.recurly.trialEndsAtFormatted && personalSubscription.recurly.trial_ends_at > Date.now())
p You're on a free trial which ends on <strong ng-non-bindable>#{personalSubscription.recurly.trialEndsAtFormatted}</strong>
p !{translate("next_payment_of_x_collectected_on_y", {paymentAmmount: personalSubscription.recurly.price, collectionDate: personalSubscription.recurly.nextPaymentDueAt}, ['strong', 'strong'])}
@ -95,4 +95,3 @@ script(type='text/ng-template', id='confirmChangePlanModalTemplate')
)
span(ng-hide="inflight") #{translate("change_plan")}
span(ng-show="inflight") #{translate("processing")}…