diff options
Diffstat (limited to 'app/views/devise/shared/_terms_of_service_notice.html.haml')
-rw-r--r-- | app/views/devise/shared/_terms_of_service_notice.html.haml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/app/views/devise/shared/_terms_of_service_notice.html.haml b/app/views/devise/shared/_terms_of_service_notice.html.haml new file mode 100644 index 00000000000..46b043b2831 --- /dev/null +++ b/app/views/devise/shared/_terms_of_service_notice.html.haml @@ -0,0 +1,5 @@ +- company_name = Gitlab.com? ? 'GitLab' : '' + +- if Gitlab::CurrentSettings.current_application_settings.enforce_terms? + %p.gl-text-gray-500.gl-mt-5.gl-mb-0 + = html_escape(_("By clicking Register, I agree that I have read and accepted the %{company_name} %{linkStart}Terms of Use and Privacy Policy%{linkEnd}")) % { linkStart: "<a href='#{terms_path}' target='_blank' rel='noreferrer noopener'>".html_safe, linkEnd: '</a>'.html_safe, company_name: company_name } |