From 22b1797c183cb5e05dc7a7b4152320f7786861de Mon Sep 17 00:00:00 2001 From: M Fahru Date: Tue, 17 May 2022 04:32:13 -0400 Subject: [PATCH] change button text on non-trial monthly plan on payment page (#7973) GitOrigin-RevId: 83378ea13d16d3add31ed6a93f1a13fdc3860431 --- services/web/app/views/subscriptions/new-updated.pug | 2 +- services/web/app/views/subscriptions/new.pug | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/services/web/app/views/subscriptions/new-updated.pug b/services/web/app/views/subscriptions/new-updated.pug index d47bf50784..360e75dea8 100644 --- a/services/web/app/views/subscriptions/new-updated.pug +++ b/services/web/app/views/subscriptions/new-updated.pug @@ -342,7 +342,7 @@ block content span.sr-only #{translate('processing')} |   span(ng-if="paymentMethod.value === 'credit_card'") - | {{ monthlyBilling ? '#{translate("upgrade_cc_btn")}' : '#{translate("upgrade_now")}'}} + | {{ trialLength ? '#{translate("upgrade_cc_btn")}' : '#{translate("upgrade_now")}'}} span(ng-if="paymentMethod.value !== 'credit_card'") #{translate("upgrade_paypal_btn")} p.tos-agreement-notice !{translate("by_subscribing_you_agree_to_our_terms_of_service", {}, [{name: 'a', attrs: {href: '/legal#Terms', target:'_blank', rel:'noopener noreferrer'}}])} diff --git a/services/web/app/views/subscriptions/new.pug b/services/web/app/views/subscriptions/new.pug index 68954fbb41..d8fd001461 100644 --- a/services/web/app/views/subscriptions/new.pug +++ b/services/web/app/views/subscriptions/new.pug @@ -297,7 +297,7 @@ block content span.sr-only #{translate('processing')} |   span(ng-if="paymentMethod.value === 'credit_card'") - | {{ monthlyBilling ? '#{translate("upgrade_cc_btn")}' : '#{translate("upgrade_now")}'}} + | {{ trialLength ? '#{translate("upgrade_cc_btn")}' : '#{translate("upgrade_now")}'}} span(ng-if="paymentMethod.value !== 'credit_card'") #{translate("upgrade_paypal_btn")} p.tos-agreement-notice !{translate("by_subscribing_you_agree_to_our_terms_of_service", {}, [{name: 'a', attrs: {href: '/legal#Terms', target:'_blank', rel:'noopener noreferrer'}}])}