diff --git a/services/web/app/views/subscriptions/_plans_faq.pug b/services/web/app/views/subscriptions/_plans_faq.pug new file mode 100644 index 0000000000..7f35c23738 --- /dev/null +++ b/services/web/app/views/subscriptions/_plans_faq.pug @@ -0,0 +1,33 @@ +.faq + .row.row-spaced-large + .col-md-12 + .page-header.plans-header.plans-subheader.text-centered + h2 FAQ + .row + .col-md-6 + h3 #{translate("faq_how_free_trial_works_question")} + p #{translate('faq_how_free_trial_works_answer', { len:'{{trial_len}}' })} + .col-md-6 + h3 #{translate('faq_change_plans_question')} + p #{translate('faq_change_plans_answer')} + .row + .col-md-6 + h3 #{translate('faq_do_collab_need_premium_question')} + p #{translate('faq_do_collab_need_premium_answer')} + .col-md-6 + h3 #{translate('faq_need_more_collab_question')} + p !{translate('faq_need_more_collab_answer', { referFriendsLink: '' + translate('referring_your_friends') + ''})} + .row + .col-md-6 + h3 #{translate('faq_purchase_more_licenses_question')} + p !{translate('faq_purchase_more_licenses_answer', { groupLink: '' + translate('discounted_group_accounts') + '' })} + .col-md-6 + h3 #{translate('faq_monthly_or_annual_question')} + p #{translate('faq_monthly_or_annual_answer')} + .row + .col-md-6 + h3 #{translate('faq_how_to_pay_question')} + p #{translate('faq_how_to_pay_answer')} + .col-md-6 + h3 #{translate('faq_pay_by_invoice_question')} + p !{translate('faq_pay_by_invoice_answer', { groupLink: '' + translate('discounted_group_accounts') + '' })} diff --git a/services/web/app/views/subscriptions/plans.pug b/services/web/app/views/subscriptions/plans.pug index 25116f8bc2..f6b7d413e8 100644 --- a/services/web/app/views/subscriptions/plans.pug +++ b/services/web/app/views/subscriptions/plans.pug @@ -133,43 +133,14 @@ block content p ShareLaTeX has proven to be a powerful and robust collaboration tool that is widely used in our School. footer Rob Henderson, School Of Informatics And Computing - Indiana University - .faq - .row.row-spaced-large - .col-md-12 - .page-header.plans-header.plans-subheader.text-centered - h2 FAQ - .row - .col-md-6 - h3 #{translate("faq_how_free_trial_works_question")} - p #{translate('faq_how_free_trial_works_answer', { len:'{{trial_len}}' })} - .col-md-6 - h3 #{translate('faq_change_plans_question')} - p #{translate('faq_change_plans_answer')} - .row - .col-md-6 - h3 #{translate('faq_do_collab_need_premium_question')} - p #{translate('faq_do_collab_need_premium_answer')} - .col-md-6 - h3 #{translate('faq_need_more_collab_question')} - p !{translate('faq_need_more_collab_answer', { referFriendsLink: '' + translate('referring_your_friends') + ''})} - .row - .col-md-6 - h3 #{translate('faq_purchase_more_licenses_question')} - p !{translate('faq_purchase_more_licenses_answer', { groupLink: '' + translate('discounted_group_accounts') + '' })} - .col-md-6 - h3 #{translate('faq_monthly_or_annual_question')} - p #{translate('faq_monthly_or_annual_answer')} - .row - .col-md-6 - h3 #{translate('faq_how_to_pay_question')} - p #{translate('faq_how_to_pay_answer')} - .col-md-6 - h3 #{translate('faq_pay_by_invoice_question')} - p !{translate('faq_pay_by_invoice_answer', { groupLink: '' + translate('discounted_group_accounts') + '' })} - .row.row-spaced-large.text-centery - .col-md-12 - .plans-header.plans-subheader.text-centered - h2 #{translate('still_have_questions')} - button.btn.btn-info.btn-header.text-capitalize(ng-controller="ContactGeneralModal" ng-click="openModal()") #{translate('get_in_touch')} - != moduleIncludes("contactModalGeneral", locals) + include _plans_faq + + .row.row-spaced-large + .col-md-12 + .plans-header.plans-subheader.text-centered + h2 #{translate('still_have_questions')} + button.btn.btn-info.btn-header.text-capitalize(ng-controller="ContactGeneralModal" ng-click="openModal()") #{translate('get_in_touch')} + != moduleIncludes("contactModalGeneral", locals) + + .row.row-spaced