mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-02 02:02:31 -05:00
11e789229e
[web] Show student confirmation modal for student plans on checkout page GitOrigin-RevId: 6009bde36adb2ca24d3438def95db3b47f1ce8b2
25 lines
965 B
Text
25 lines
965 B
Text
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")}
|