diff --git a/services/web/app/src/Features/Subscription/SubscriptionController.js b/services/web/app/src/Features/Subscription/SubscriptionController.js index 592a57bfe8..71e76d81f8 100644 --- a/services/web/app/src/Features/Subscription/SubscriptionController.js +++ b/services/web/app/src/Features/Subscription/SubscriptionController.js @@ -178,12 +178,6 @@ async function paymentPage(req, res) { currency = recommendedCurrency } - await SplitTestHandler.promises.getAssignment( - req, - res, - 'student-check-modal' - ) - res.render('subscriptions/new-react', { title: 'subscribe', currency, diff --git a/services/web/app/views/subscriptions/_new_mixins.pug b/services/web/app/views/subscriptions/_new_mixins.pug deleted file mode 100644 index 9e373ce7ce..0000000000 --- a/services/web/app/views/subscriptions/_new_mixins.pug +++ /dev/null @@ -1,25 +0,0 @@ -mixin studentCheckModal - script(type="text/ng-template", id="StudentCheckModalTemplate") - .modal-header - h3 #{translate("you_are_about_to_upgrade", {planName: translate("student_plan")})} - .modal-body - p.mb-0 - | !{translate("the_overleaf_student_plan_is_for_students_using_overleaf_during_their_studies", {}, ['strong'])}. - br - | #{translate("not_a_student_question")} - | #{translate("try_out_one_of_our_plans_instead")}. - .modal-footer - button.btn.btn-default( - event-tracking-mb="true" - event-tracking="student-check-button-click" - event-tracking-trigger="click" - event-segmentation='{"button": "plans"}' - ng-click="browsePlans()" - ) #{translate("browse_plans")} - button.btn.btn-success( - event-tracking-mb="true" - event-tracking="student-check-button-click" - event-tracking-trigger="click" - event-segmentation='{"button": "confirm"}' - ng-click="confirm()" - ) #{translate("i_confirm_that_i_am_a_student")} diff --git a/services/web/app/views/subscriptions/new-react.pug b/services/web/app/views/subscriptions/new-react.pug index 2c8c12e99d..5b8a179df3 100644 --- a/services/web/app/views/subscriptions/new-react.pug +++ b/services/web/app/views/subscriptions/new-react.pug @@ -1,7 +1,5 @@ extends ../layout-marketing -include ./_new_mixins - block entrypointVar - entrypoint = 'pages/user/subscription/new' diff --git a/services/web/frontend/stylesheets/components/modals.less b/services/web/frontend/stylesheets/components/modals.less index c01d453f1d..16a1a89cb5 100755 --- a/services/web/frontend/stylesheets/components/modals.less +++ b/services/web/frontend/stylesheets/components/modals.less @@ -47,21 +47,6 @@ margin: 10px; } -.modal-dialog-centered { - display: flex; - align-items: center; - min-height: calc(100% - (30px * 2)); - - .modal-content { - width: 100%; - } - - &.modal-dialog { - margin-top: 30px; - margin-bottom: 30px; - } -} - // Actual modal .modal-content { position: relative; diff --git a/services/web/locales/en.json b/services/web/locales/en.json index 00cabf90bc..c4c19b124d 100644 --- a/services/web/locales/en.json +++ b/services/web/locales/en.json @@ -152,7 +152,6 @@ "bonus_please_recommend_us": "Bonus - Please recommend us", "bonus_share_link_text": "Online LaTeX Editor __appName__", "bonus_twitter_share_text": "I’m using __appName__, the free online collaborative LaTeX editor - it’s awesome and easy to use!", - "browse_plans": "Browse plans", "browser": "Browser", "browsing_project_as_of": "Browsing project as of", "browsing_project_labelled": "Browsing project version labelled", @@ -733,7 +732,6 @@ "how_to_create_tables": "How to create tables", "how_to_insert_images": "How to insert images", "hundreds_templates_info": "Produce beautiful documents starting from our gallery of LaTeX templates for journals, conferences, theses, reports, CVs and much more.", - "i_confirm_that_i_am_a_student": "I confirm that I am a student", "i_want_to_stay": "I want to stay", "if_error_persists_try_relinking_provider": "If this error persists, try re-linking your __provider__ account here", "if_have_existing_can_link": "If you have an existing __appName__ account on another email, you can link it to your __institutionName__ account by clicking __clickText__.", @@ -1068,7 +1066,6 @@ "normal": "Normal", "normally_x_price_per_month": "Normally __price__ per month", "normally_x_price_per_year": "Normally __price__ per year", - "not_a_student_question": "Not a student?", "not_found_error_from_the_supplied_url": "The link to open this content on Overleaf pointed to a file that could not be found. If this keeps happening for links on a particular site, please report this to them.", "not_managed": "Not managed", "not_now": "Not now", @@ -1515,7 +1512,6 @@ "student": "Student", "student_and_faculty_support_make_difference": "Student and faculty support make a difference! We can share this information with our contacts at your university when discussing an Overleaf institutional account.", "student_disclaimer": "The educational discount applies to all students at secondary and postsecondary institutions (schools and universities). We may contact you to confirm that you’re eligible for the discount.", - "student_plan": "Student Plan", "student_plans": "Student Plans", "subject": "Subject", "subject_to_additional_vat": "Prices may be subject to additional VAT, depending on your country.", @@ -1582,7 +1578,6 @@ "the_easy_online_collab_latex_editor": "The easy to use, online, collaborative LaTeX editor", "the_file_supplied_is_of_an_unsupported_type ": "The link to open this content on Overleaf pointed to the wrong kind of file. Valid file types are .tex documents and .zip files. If this keeps happening for links on a particular site, please report this to them.", "the_following_files_already_exist_in_this_project": "The following files already exist in this project:", - "the_overleaf_student_plan_is_for_students_using_overleaf_during_their_studies": "The Overleaf Student plan is for <0>students using Overleaf during their studies", "the_project_that_contains_this_file_is_not_shared_with_you": "The project that contains this file is not shared with you", "the_requested_conversion_job_was_not_found": "The link to open this content on Overleaf specified a conversion job that could not be found. It’s possible that the job has expired and needs to be run again. If this keeps happening for links on a particular site, please report this to them.", "the_requested_publisher_was_not_found": "The link to open this content on Overleaf specified a publisher that could not be found. If this keeps happening for links on a particular site, please report this to them.", @@ -1684,7 +1679,6 @@ "try_for_free": "Try for free", "try_it_for_free": "Try it for free", "try_now": "Try Now", - "try_out_one_of_our_plans_instead": "Try out one of our plans instead", "try_premium_for_free": "Try Premium for free", "try_recompile_project_or_troubleshoot": "Please try recompiling the project from scratch, and if that doesn’t help, follow our <0>troubleshooting guide.", "try_to_compile_despite_errors": "Try to compile despite errors", @@ -1824,7 +1818,6 @@ "you_are_a_manager_of_commons_at_institution_x": "You are a <0>manager of the Overleaf Commons subscription at <0>__institutionName__", "you_are_a_manager_of_publisher_x": "You are a <0>manager of <0>__publisherName__", "you_are_a_manager_of_x_plan_as_member_of_group_subscription_y_administered_by_z": "You are a <1>manager of the <0>__planName__ group subscription <1>__groupName__ administered by <1>__adminEmail__", - "you_are_about_to_upgrade": "You are about to upgrade to the __planName__", "you_are_on_a_paid_plan_contact_support_to_find_out_more": "You’re on an __appName__ Paid plan. <0>Contact support to find out more.", "you_are_on_x_plan_as_a_confirmed_member_of_institution_y": "You are on our <0>__planName__ plan as a <1>confirmed member of <1>__institutionName__", "you_are_on_x_plan_as_member_of_group_subscription_y_administered_by_z": "You are on our <0>__planName__ plan as a <1>member of the group subscription <1>__groupName__ administered by <1>__adminEmail__",