Просмотр исходного кода

Merge pull request #13835 from overleaf/mf-add-tos-sso

Add terms notice to institutional SSO registration flow

GitOrigin-RevId: 875c6dbd7d0a78faedf6580fbaec863c5890d0f2
M Fahru 3 лет назад
Родитель
Сommit
42cffc8862

+ 3 - 0
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'}}])}

+ 1 - 0
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</0>.",
   "by_subscribing_you_agree_to_our_terms_of_service": "By subscribing, you agree to our <0>terms of service</0>.",
   "can_edit": "Can Edit",
   "can_link_institution_email_acct_to_institution_acct": "You can now link your <b>__email__</b> <b>__appName__</b> account to your <b>__institutionName__</b> institutional account.",