Tear down student status check test

GitOrigin-RevId: 5afff525e6748621790fcdc986541363fe19e1e8
This commit is contained in:
Rebeka 2023-07-11 11:15:35 +02:00 committed by Copybot
parent f80100fba1
commit fdeb36c2c2
5 changed files with 0 additions and 55 deletions

View file

@ -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,

View file

@ -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")}

View file

@ -1,7 +1,5 @@
extends ../layout-marketing
include ./_new_mixins
block entrypointVar
- entrypoint = 'pages/user/subscription/new'

View file

@ -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;

View file

@ -152,7 +152,6 @@
"bonus_please_recommend_us": "Bonus - Please recommend us",
"bonus_share_link_text": "Online LaTeX Editor __appName__",
"bonus_twitter_share_text": "Im using __appName__, the free online collaborative LaTeX editor - its 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 <b>__appName__</b> account on another email, you can link it to your <b>__institutionName__</b> account by clicking <b>__clickText__</b>.",
@ -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 youre 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</0>",
"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. Its 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 doesnt help, follow our <0>troubleshooting guide</0>.",
"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</0> of the Overleaf Commons subscription at <0>__institutionName__</0>",
"you_are_a_manager_of_publisher_x": "You are a <0>manager</0> of <0>__publisherName__</0>",
"you_are_a_manager_of_x_plan_as_member_of_group_subscription_y_administered_by_z": "You are a <1>manager</1> of the <0>__planName__</0> group subscription <1>__groupName__</1> administered by <1>__adminEmail__</1>",
"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": "Youre on an __appName__ Paid plan. <0>Contact support</0> to find out more.",
"you_are_on_x_plan_as_a_confirmed_member_of_institution_y": "You are on our <0>__planName__</0> plan as a <1>confirmed member</1> of <1>__institutionName__</1>",
"you_are_on_x_plan_as_member_of_group_subscription_y_administered_by_z": "You are on our <0>__planName__</0> plan as a <1>member</1> of the group subscription <1>__groupName__</1> administered by <1>__adminEmail__</1>",