From 23e763ea9585d27b7d2113e7244725edc4918c89 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Mon, 30 Dec 2019 22:49:17 +0000 Subject: [PATCH] Mark language and direction for about page --- app/views/site/about.html.erb | 68 ++++++++++++++++++----------------- 1 file changed, 35 insertions(+), 33 deletions(-) diff --git a/app/views/site/about.html.erb b/app/views/site/about.html.erb index 27bcbb9da..15255d9e0 100644 --- a/app/views/site/about.html.erb +++ b/app/views/site/about.html.erb @@ -1,41 +1,43 @@ -
-
- <%= t ".copyright_html", :locale => @locale %> -
- -
+<%= tag.div :lang => @locale, :dir => t("html.dir", :locale => @locale) do %> +
+
+ <%= t ".copyright_html", :locale => @locale %> +
-

<%= raw t ".used_by", :name => "OpenStreetMap", :locale => @locale %>

-
+
-
-
-

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

-

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

-

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

+

<%= raw t ".used_by", :name => "OpenStreetMap", :locale => @locale %>

-
-

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

-

<%= t ".community_driven_html", :locale => @locale, :diary_path => diary_entries_path %>

-
+
+
+

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

+

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

+

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

+
-
-

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

-

<%= t ".open_data_html", :locale => @locale, :copyright_path => copyright_path %>

-
+
+

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

+

<%= t ".community_driven_html", :locale => @locale, :diary_path => diary_entries_path %>

+
- +
+

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

+

<%= t ".open_data_html", :locale => @locale, :copyright_path => copyright_path %>

+
+ + -
-

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

-

<%= t "layouts.hosting_partners_html", :locale => @locale, - :ucl => link_to(t("layouts.partners_ucl", :locale => @locale), "https://www.ucl.ac.uk"), - :bytemark => link_to(t("layouts.partners_bytemark", :locale => @locale), "https://www.bytemark.co.uk"), - :partners => link_to(t("layouts.partners_partners", :locale => @locale), "https://hardware.openstreetmap.org/thanks/") %> -

+
+

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

+

<%= t "layouts.hosting_partners_html", :locale => @locale, + :ucl => link_to(t("layouts.partners_ucl", :locale => @locale), "https://www.ucl.ac.uk"), + :bytemark => link_to(t("layouts.partners_bytemark", :locale => @locale), "https://www.bytemark.co.uk"), + :partners => link_to(t("layouts.partners_partners", :locale => @locale), "https://hardware.openstreetmap.org/thanks/") %> +

+
-
+<% end %> -- 2.43.2