From 4f163a434f5b15c3ce4d602d87ed6119e3b3b221 Mon Sep 17 00:00:00 2001 From: Marwin Hochfelsner <50826859+hlfan@users.noreply.github.com> Date: Sun, 20 Jul 2025 06:28:57 +0200 Subject: [PATCH] Restore about section partial --- app/views/site/_about_section.html.erb | 7 +++++ app/views/site/about.html.erb | 40 +++++++------------------- config/locales/en.yml | 1 + 3 files changed, 18 insertions(+), 30 deletions(-) create mode 100644 app/views/site/_about_section.html.erb diff --git a/app/views/site/_about_section.html.erb b/app/views/site/_about_section.html.erb new file mode 100644 index 000000000..5ba299b36 --- /dev/null +++ b/app/views/site/_about_section.html.erb @@ -0,0 +1,7 @@ +<%= tag.section :id => local_assigns[:id] do %> +
<%= t ".lede_text" %>
-<%= t ".local_knowledge_html" %>
-<%= t ".community_driven_1_html", :osm_blog_link => link_to(t(".community_driven_osm_blog"), t(".community_driven_osm_blog_url")), @@ -44,24 +36,16 @@ :osm_foundation_link => link_to(t(".community_driven_osm_foundation"), t(".community_driven_osm_foundation_url")) %>
-<%= t ".open_data_1_html", :open_data => tag.i(t(".open_data_open_data")), :copyright_license_link => link_to(t(".open_data_copyright_license"), copyright_path) %>
-<%= t ".legal_1_1_html", :openstreetmap_foundation_link => link_to(t(".legal_1_1_openstreetmap_foundation"), t(".legal_1_1_openstreetmap_foundation_url")), @@ -80,18 +64,14 @@ <%= t ".legal_2_2_html", :registered_trademarks_link => link_to(t(".legal_2_2_registered_trademarks"), t(".legal_2_2_registered_trademarks_url")) %>
-<%= 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/") %>
-