From dff29637b7ae85ef64446f6df13fcd1a5ea20491 Mon Sep 17 00:00:00 2001 From: Jessica Lawshe Date: Tue, 28 Aug 2018 11:25:41 -0500 Subject: [PATCH] Move quotes to partial --- .../app/views/subscriptions/_plans_quotes.pug | 25 +++++++++++++++++ .../web/app/views/subscriptions/plans.pug | 27 ++----------------- 2 files changed, 27 insertions(+), 25 deletions(-) create mode 100644 services/web/app/views/subscriptions/_plans_quotes.pug diff --git a/services/web/app/views/subscriptions/_plans_quotes.pug b/services/web/app/views/subscriptions/_plans_quotes.pug new file mode 100644 index 0000000000..afb1b2baa5 --- /dev/null +++ b/services/web/app/views/subscriptions/_plans_quotes.pug @@ -0,0 +1,25 @@ +.row.row-spaced-large + .col-md-12 + .page-header.plans-header.plans-subheader.text-centered + h2 #{translate('in_good_company')} +.row + .col-md-6 + div + .row + .col-md-3 + .circle-img + img(src=buildImgPath('advocates/erdogmus.jpg') alt="Professor Erdogmus") + .col-md-9 + blockquote + p The ability to track changes and the real-time collaborative nature is what sets ShareLaTeX apart. + footer Professor Erdogmus, Northeastern University + .col-md-6 + div + .row + .col-md-3 + .circle-img + img(src=buildImgPath('advocates/henderson.jpg') alt="Rob Henderson") + .col-md-9 + blockquote + 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 \ No newline at end of file diff --git a/services/web/app/views/subscriptions/plans.pug b/services/web/app/views/subscriptions/plans.pug index 0691ead5db..4709b414c0 100644 --- a/services/web/app/views/subscriptions/plans.pug +++ b/services/web/app/views/subscriptions/plans.pug @@ -113,31 +113,8 @@ block content .col-sm-12(ng-if="ui.view == 'student'") +table_student - .row.row-spaced-large - .col-md-12 - .page-header.plans-header.plans-subheader.text-centered - h2 #{translate('in_good_company')} - .row - .col-md-6 - div - .row - .col-md-3 - .circle-img - img(src=buildImgPath('advocates/erdogmus.jpg') alt="Professor Erdogmus") - .col-md-9 - blockquote - p The ability to track changes and the real-time collaborative nature is what sets ShareLaTeX apart. - footer Professor Erdogmus, Northeastern University - .col-md-6 - div - .row - .col-md-3 - .circle-img - img(src=buildImgPath('advocates/henderson.jpg') alt="Rob Henderson") - .col-md-9 - blockquote - 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 + if !settings.overleaf + include _plans_quotes include _plans_faq