2022-02-03 06:37:34 -05:00
|
|
|
extends ../layout-marketing
|
|
|
|
|
|
|
|
block content
|
|
|
|
main.content.content-alt#main-content
|
2022-02-18 03:45:00 -05:00
|
|
|
.login-register-container.primary-email-check-container
|
2024-04-10 09:01:43 -04:00
|
|
|
.card.primary-email-check-card
|
|
|
|
img.primary-email-check-logo(src=buildImgPath("ol-brand/overleaf.svg") alt=settings.appName)
|
|
|
|
h3.primary-email-check-header #{translate("keep_your_account_safe")}
|
|
|
|
.login-register-form.primary-email-check-form(data-ol-multi-submit)
|
|
|
|
p.small
|
2022-02-03 06:37:34 -05:00
|
|
|
| !{translate("primary_email_check_question", { email: getUserEmail() }, ["strong"])}
|
|
|
|
form(
|
|
|
|
data-ol-async-form
|
|
|
|
action="/user/emails/primary-email-check"
|
|
|
|
method="POST"
|
|
|
|
)
|
|
|
|
input(name='_csrf', type='hidden', value=csrfToken)
|
|
|
|
+formMessages()
|
|
|
|
|
2024-04-10 09:01:43 -04:00
|
|
|
button.btn-primary.btn.btn-block.btn-primary-email-check-button.primary-email-confirm-button(
|
2022-02-18 03:45:00 -05:00
|
|
|
type='submit'
|
|
|
|
data-ol-disabled-inflight
|
2022-02-03 06:37:34 -05:00
|
|
|
)
|
2022-02-18 03:45:00 -05:00
|
|
|
span(data-ol-inflight="idle") #{translate("yes_that_is_correct")}
|
|
|
|
span(hidden data-ol-inflight="pending") #{translate("confirming")}…
|
|
|
|
|
2024-04-10 09:01:43 -04:00
|
|
|
a.btn-secondary.btn.btn-block.btn-primary-email-check-button.primary-email-change-button(
|
2022-02-18 03:45:00 -05:00
|
|
|
href="/user/settings#add-email"
|
|
|
|
data-ol-slow-link
|
|
|
|
event-tracking="primary-email-check-change-email"
|
|
|
|
event-tracking-mb="true"
|
|
|
|
event-tracking-trigger="click"
|
|
|
|
)
|
|
|
|
span(data-ol-inflight="idle") #{translate("no_update_email")}
|
|
|
|
span(hidden data-ol-inflight="pending") #{translate("redirecting")}…
|
2024-04-10 09:01:43 -04:00
|
|
|
p.small
|
2022-02-03 06:37:34 -05:00
|
|
|
| #{translate("keep_your_email_updated")}
|
2024-04-10 09:01:43 -04:00
|
|
|
p.small
|
2022-02-03 06:37:34 -05:00
|
|
|
| !{translate("learn_more_about_emails", {}, [{name: 'a', attrs: {href: '/learn/how-to/Keeping_your_account_secure', 'event-tracking': 'primary-email-check-learn-more', 'event-tracking-mb': 'true', 'event-tracking-trigger': 'click' }}])}
|