From 8a00f42642baef2f977e2f33bc86fc329c7ba7cc Mon Sep 17 00:00:00 2001 From: Arpan Mukherjee Date: Thu, 5 Mar 2026 23:06:11 +0530 Subject: [PATCH] Add Terms of Use notice to welcome banner --- app/views/layouts/map.html.erb | 6 +++++- config/locales/en.yml | 2 ++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/app/views/layouts/map.html.erb b/app/views/layouts/map.html.erb index 9d6b9878b..44a79d42f 100644 --- a/app/views/layouts/map.html.erb +++ b/app/views/layouts/map.html.erb @@ -35,11 +35,15 @@

<%= t "layouts.intro_header" %>

<%= t "layouts.intro_text" %>

-

<%= t "layouts.hosting_partners_2024_html", +

<%= t "layouts.hosting_partners_2024_html", :fastly => link_to(t("layouts.partners_fastly"), "https://www.fastly.com/"), :corpmembers => link_to(t("layouts.partners_corpmembers"), "https://osmfoundation.org/wiki/Corporate_Members"), :partners => link_to(t("layouts.partners_partners"), "https://hardware.openstreetmap.org/thanks/") %>

+

+ <%= t "layouts.welcome_tou_notice_html", + :terms_link => link_to(t("layouts.terms_of_use"), t("site.about_section.legal_1_1_terms_of_use_url")) %> +

<%= t("layouts.learn_more") %> <%= t("layouts.start_mapping") %> diff --git a/config/locales/en.yml b/config/locales/en.yml index b39b3349b..79adae0f1 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -1842,6 +1842,8 @@ en: partners_fastly: "Fastly" partners_corpmembers: "OSMF corporate members" partners_partners: "partners" + welcome_tou_notice_html: "By using this website or other infrastructure provided by the OpenStreetMap Foundation, you agree to the %{terms_link}." + terms_of_use: "Terms of Use" tou: "Terms of Use" nothing_to_preview: "Nothing to preview." learn_more: "Learn More" -- 2.39.5