Просмотр исходного кода

Merge pull request #19611 from overleaf/ds-plans-page-faq-follow-up-finishing

Website redesign - Plans page FAQ section follow up adding modal

GitOrigin-RevId: fac7f0c676fa36e76842ec3f682d759ebcdbafbe
M Fahru 2 лет назад
Родитель
Сommit
596dd87c5a

+ 1 - 4
services/web/app/views/subscriptions/plans/_faq_new.pug

@@ -45,19 +45,16 @@ include ../../_mixins/eyebrow
 					.tab-pane.active(
 						role="tabpanel"
 						id=managingYourSubscription
-						data-ol-faq-tab-content=managingYourSubscription
 					)
 						+managingYourSubscription()
 					.tab-pane(
 						role="tabpanel"
 						id=overleafIndividualPlans
-						data-ol-faq-tab-content=overleafIndividualPlans
 					)
 						+overleafIndividualPlans()
 					.tab-pane(
 						role="tabpanel"
 						id=overleafGroupPlans
-						data-ol-faq-tab-content=overleafGroupPlans
 					)
 						+overleafGroupPlans()
 
@@ -67,4 +64,4 @@ include ../../_mixins/eyebrow
 			span(style="margin-right: 4px") #{translate('contact_support')}
 			img.icon-md(src="/img/website-redesign/material-symbols-arrow-right.svg", aria-hidden="true")
 
-	!= moduleIncludes("contactModalGeneral-marketing", locals)
+	!= moduleIncludes("contactModalGeneral-marketing", locals)

+ 2 - 1
services/web/app/views/subscriptions/plans/_plans_faq_tabs.pug

@@ -137,5 +137,6 @@ mixin overleafGroupPlans()
 			.collapse(id="overleafGroupPlansQ4")
 				.custom-accordion-body
 					| Yes. To add more users to your subscription you’ll need to 
-					a.inline-green-link(href="/contact") contact us. 
+					button.btn-link.inline-green-link(data-ol-open-contact-form-modal="contact-us")
+						span #{translate("contact_us")}