From 3548e6a89d81ca730bbfab1afab9883db17150c1 Mon Sep 17 00:00:00 2001 From: M Fahru Date: Thu, 20 Jul 2023 09:15:03 -0700 Subject: [PATCH] Merge pull request #13835 from overleaf/mf-add-tos-sso Add terms notice to institutional SSO registration flow GitOrigin-RevId: 875c6dbd7d0a78faedf6580fbaec863c5890d0f2 --- services/web/app/views/_mixins/terms_of_service.pug | 3 +++ services/web/locales/en.json | 1 + 2 files changed, 4 insertions(+) create mode 100644 services/web/app/views/_mixins/terms_of_service.pug diff --git a/services/web/app/views/_mixins/terms_of_service.pug b/services/web/app/views/_mixins/terms_of_service.pug new file mode 100644 index 0000000000..f24dfac672 --- /dev/null +++ b/services/web/app/views/_mixins/terms_of_service.pug @@ -0,0 +1,3 @@ +mixin termsOfServiceAgreement + div.tos-agreement-notice + | !{translate("by_registering_you_agree_to_our_terms_of_service", {}, [{name: 'a', attrs: {href: '/legal#Terms', target: '_blank'}}])} diff --git a/services/web/locales/en.json b/services/web/locales/en.json index ee5add2eb0..3773515e07 100644 --- a/services/web/locales/en.json +++ b/services/web/locales/en.json @@ -169,6 +169,7 @@ "bulk_reject_confirm": "Are you sure you want to reject the selected __nChanges__ changes?", "buy_now_no_exclamation_mark": "Buy now", "by": "by", + "by_registering_you_agree_to_our_terms_of_service": "By registering, you agree to our <0>terms of service.", "by_subscribing_you_agree_to_our_terms_of_service": "By subscribing, you agree to our <0>terms of service.", "can_edit": "Can Edit", "can_link_institution_email_acct_to_institution_acct": "You can now link your __email__ __appName__ account to your __institutionName__ institutional account.",