]> git.openstreetmap.org Git - rails.git/blob - app/views/site/about.html.erb
Use _html suffix to avoid using raw when displaying translated strings
[rails.git] / app / views / site / about.html.erb
1 <div class='attr'>
2   <div class='byosm'>
3     <%= t ".copyright_html" %>
4   </div>
5
6   <div class='user-image'></div>
7
8   <h1><%= t ".used_by_html", :name => content_tag(:span, "OpenStreetMap", :class => "user-name") %></h1>
9 </div>
10
11 <div class='text'>
12   <div class='section'>
13     <p><strong><%= t ".lede_text" %></strong></p>
14     <h2><div class='icon local'></div><%= t ".local_knowledge_title" %></h2>
15     <p><%= t ".local_knowledge_html" %></p>
16   </div>
17
18   <div class='section'>
19     <h2><div class='icon community'></div><%= t ".community_driven_title" %></h2>
20     <p><%= t ".community_driven_html", :diary_path => diary_entries_path %></p>
21   </div>
22
23   <div class='section' id='open-data'>
24     <h2><div class='icon open'></div><%= t ".open_data_title" %></h2>
25     <p><%= t ".open_data_html", :copyright_path => copyright_path %></p>
26   </div>
27
28   <div class='section' id='legal'>
29     <h2><div class='icon legal'></div><%= t ".legal_title" %></h2>
30     <p><%= t ".legal_html" %></p>
31   </div>
32
33   <div class='section' id='partners'>
34     <h2><div class='icon partners'></div><%= t ".partners_title" %></h2>
35     <p><%= t "layouts.hosting_partners_html",
36              :ucl => link_to(t("layouts.partners_ucl"), "https://www.ucl.ac.uk"),
37              :bytemark => link_to(t("layouts.partners_bytemark"), "https://www.bytemark.co.uk"),
38              :partners => link_to(t("layouts.partners_partners"), "https://hardware.openstreetmap.org/thanks/") %>
39     </p>
40   </div>
41 </div>