From ffc6b697f05220627d28c1f9d4719d5ff451f658 Mon Sep 17 00:00:00 2001 From: Adam Hoyle Date: Sun, 8 Aug 2021 23:27:34 +0100 Subject: [PATCH] add communities page --- app/views/site/communities.html.erb | 15 ++++++++++++++- config/locales/en.yml | 24 ++++++++++++++++++++++++ 2 files changed, 38 insertions(+), 1 deletion(-) diff --git a/app/views/site/communities.html.erb b/app/views/site/communities.html.erb index 8bea6d14c..31c48eaf6 100644 --- a/app/views/site/communities.html.erb +++ b/app/views/site/communities.html.erb @@ -1 +1,14 @@ -COMMUNITIES PAGE WILL GO HERE 🎉 \ No newline at end of file +<% content_for :heading do %> + <%= tag.h1 :lang => @locale, :dir => t("html.dir", :locale => @locale) do %> + <%= t ".title", :locale => @locale %> + <% end %> +<% end %> + +<%= tag.div :lang => @locale, :dir => t("html.dir", :locale => @locale) do %> +

<%= t ".lede_text", :locale => @locale %>

+

<%= t ".local_chapters.title", :locale => @locale %>

+

<%= t ".local_chapters.about_text", :locale => @locale %>

+

<%= t ".local_chapters.list_text", :locale => @locale %>

+

<%= t ".other_groups.title", :locale => @locale %>

+

<%= t ".other_groups.about_html", :locale => @locale %>

+<% end %> \ No newline at end of file diff --git a/config/locales/en.yml b/config/locales/en.yml index 1d5128293..4210beda3 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -2198,6 +2198,30 @@ en: Just go to the map and click the note icon: . This will add a marker to the map, which you can move by dragging. Add your message, then click save, and other mappers will investigate. + communities: + title: Communities + lede_text: | + People from all over the world contribute to or use OpenStreetMap. + Whilst some are content to participate as individuals, others have formed communities. + These groups come in a range of sizes and represent geographies from small towns to large multi-country regions. + They can also be formal or informal. + local_chapters: + title: Local Chapters + about_text: | + Local Chapters are country-level or region-level groups that have taken the formal step of + establishing not-for-profit legal entities. They represent the area's map and mappers when + dealing with local government, business, and media. They have also formed an affiliation + with the OpenStreetMap Foundation (OSMF), giving them a link to the legal and copyright + governing body. + list_text: | + So far we have the following formally established foundation Local Chapters: + other_groups: + title: Other Groups + about_html: | + There is no need to formally establish a group to the same extent as the Local Chapters. + Indeed many groups exist very sucessfully as an informal gathering of people or as a + community group. Anyone can set up or join these. Read more on the + Communities wiki page. traces: visibility: private: "Private (only shared as anonymous, unordered points)" -- 2.39.5