mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-12 13:13:45 +01:00
* Rename user-facing Papers reference manager text to ReadCube * Rename Papers component and files name to Readcube * Update locales from Papers to ReadCube * Rename ID name from papers to readcube * Fix a chinese locale to use ReadCube Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> GitOrigin-RevId: ee89e3f5da5bcf9987c0ee3e558b9ae1dab9372c
143 lines
3.7 KiB
Plaintext
143 lines
3.7 KiB
Plaintext
include terms_of_service
|
|
include recaptcha
|
|
|
|
mixin ciamLogo
|
|
header.ciam-logo
|
|
a.brand.overleaf-ds-logo.ciam-image-link(href='/')
|
|
span.visually-hidden Overleaf
|
|
|
|
mixin ciamCardSeparator
|
|
hr.ciam-card-separator
|
|
|
|
mixin ciamCardFooter(short)
|
|
section.ciam-card-footer
|
|
+ciamCardSeparator
|
|
.ciam-footer-ds-logo
|
|
a.ciam-image-link(
|
|
href='https://www.digital-science.com/'
|
|
target='_blank'
|
|
rel='noopener noreferrer'
|
|
event-tracking-mb='true'
|
|
event-tracking='unified-access-footer-click'
|
|
event-tracking-trigger='click'
|
|
event-segmentation={
|
|
product: 'overleaf',
|
|
item: 'logo',
|
|
destinationUrl: 'https://www.digital-science.com/',
|
|
}
|
|
)
|
|
img(
|
|
src=buildImgPath('digital-science/digital-science.svg')
|
|
alt='Digital Science — home'
|
|
)
|
|
p
|
|
if short
|
|
| !{translate('overleaf_is_a_ds_product')}
|
|
else
|
|
-
|
|
const linkArgs = [
|
|
{
|
|
name: 'a',
|
|
attrs: {
|
|
href: 'https://www.overleaf.com/',
|
|
target: '_blank',
|
|
rel: 'noopener noreferrer',
|
|
'event-tracking-mb': 'true',
|
|
'event-tracking': 'unified-access-footer-click',
|
|
'event-tracking-trigger': 'click',
|
|
'event-segmentation': {
|
|
product: 'overleaf',
|
|
item: 'overleaf',
|
|
destinationUrl: 'https://www.overleaf.com/'
|
|
}
|
|
}
|
|
},
|
|
{
|
|
name: 'a',
|
|
attrs: {
|
|
href: 'https://www.readcube.com/',
|
|
target: '_blank',
|
|
rel: 'noopener noreferrer',
|
|
'event-tracking-mb': 'true',
|
|
'event-tracking': 'unified-access-footer-click',
|
|
'event-tracking-trigger': 'click',
|
|
'event-segmentation': {
|
|
product: 'overleaf',
|
|
item: 'papers',
|
|
destinationUrl: 'https://www.readcube.com/'
|
|
}
|
|
}
|
|
}
|
|
]
|
|
| !{translate('advancing_research_with', null, linkArgs)}
|
|
|
|
mixin ciamTermsOfServiceAgreement
|
|
p
|
|
+termsOfServiceAgreementContent
|
|
|
|
mixin ciamRecaptchaConditions
|
|
p
|
|
+recaptchaConditionsContent
|
|
|
|
mixin ciamCustomFormDangerMessage(key)
|
|
div(
|
|
class='notification notification-ds notification-type-error'
|
|
hidden
|
|
data-ol-custom-form-message=key
|
|
role='alert'
|
|
aria-live='polite'
|
|
)
|
|
.notification-icon
|
|
ph-warning-circle(aria-hidden='true')
|
|
.notification-content.text-left
|
|
block
|
|
|
|
mixin ciamFooter
|
|
footer
|
|
.footer-links
|
|
a(href='https://www.overleaf.com/legal#Privacy') Privacy
|
|
a(href='https://www.overleaf.com/legal#Terms') Terms
|
|
|
|
mixin ciamErrorNotification
|
|
.notification.notification-ds.notification-type-error(
|
|
role='alert'
|
|
aria-live='polite'
|
|
)
|
|
.notification-icon
|
|
ph-warning-circle(aria-hidden='true')
|
|
.notification-content-and-cta
|
|
.notification-content
|
|
block
|
|
|
|
mixin ciamInfoNotification(options)
|
|
- var {dismissId, dismissCookiePaths} = options ?? {}
|
|
if dismissId && dismissedNotifications.includes(dismissId)
|
|
// Notification has been dismissed, do not render
|
|
else
|
|
.notification.notification-ds.notification-type-info(
|
|
role='alert'
|
|
aria-live='polite'
|
|
data-ol-dismiss-id=dismissId
|
|
data-ol-dismiss-cookie-paths=dismissCookiePaths && dismissCookiePaths.join(',')
|
|
)
|
|
.notification-icon
|
|
ph-info(aria-hidden='true')
|
|
.notification-content-and-cta
|
|
.notification-content
|
|
block
|
|
if dismissId
|
|
.notification-close-btn
|
|
button(aria-label=translate('close') data-ol-dismiss-button)
|
|
ph-x
|
|
|
|
mixin ciamOrDivider
|
|
p.ciam-login-register-or-text-container= translate('login_register_or').toUpperCase()
|
|
|
|
mixin ciamButtonContentLoading(loadingLabel)
|
|
span.button-content
|
|
span(data-ol-inflight='idle')
|
|
block
|
|
span.spinner-container(hidden data-ol-inflight='pending')
|
|
.loading-spinner-large.spinner-border.spinner-border-sm(aria-hidden='true')
|
|
span.visually-hidden= loadingLabel
|