]> git.openstreetmap.org Git - rails.git/blob - app/views/site/about.html.erb
Use lazy lookups and rename keys for the about page.
[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><%= raw t ".used_by", :name => "<span class='user-name'>OpenStreetMap</span>" %></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_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.partners_html',
36              :ucl => link_to(t('layouts.partners_ucl'), "https://www.ucl.ac.uk"),
37              :ic => link_to(t('layouts.partners_ic'), "https://www.imperial.ac.uk/"),
38              :bytemark => link_to(t('layouts.partners_bytemark'), "https://www.bytemark.co.uk"),
39              :partners => link_to(t('layouts.partners_partners'), "https://hardware.openstreetmap.org/thanks/") %>
40     </p>
41   </div>
42 </div>