]> git.openstreetmap.org Git - rails.git/blob - app/views/site/about.html.erb
Don't rely on body classes so much
[rails.git] / app / views / site / about.html.erb
1 <% content_for :head do %>
2   <%= javascript_include_tag "about" %>
3 <% end %>
4
5 <div class='attr'>
6   <div class='byosm'>
7     <%= t "about_page.copyright_html" %>
8   </div>
9
10   <div class='user-image'></div>
11
12   <strong>
13     <%= raw t "about_page.used_by", :name => "<span class='user-name'>OpenStreetMap</span>" %>
14   </strong>
15 </div>
16
17 <div class='text'>
18   <div class='section'>
19     <p><strong><%= t "about_page.lede_text" %></strong></p>
20     <h2><div class='icon local'></div><%= t "about_page.local_knowledge_title" %></h2>
21     <p><%= t "about_page.local_knowledge_html" %></p>
22   </div>
23
24   <div class='section'>
25     <h2><div class='icon community'></div><%= t "about_page.community_driven_title" %></h2>
26     <p><%= t "about_page.community_driven_html", :diary_path => diary_path %></p>
27   </div>
28
29   <div class='section' id='open-data'>
30     <h2><div class='icon open'></div><%= t "about_page.open_data_title" %></h2>
31     <p><%= t "about_page.open_data_html", :copyright_path => copyright_path %></p>
32   </div>
33 </div>
34
35 <% 5.times do |i| %>
36   <div class='caption photo-<%= i %>'>
37     <%= t "about_page.photo_caption_#{i}_html" %>
38   </div>
39 <% end %>
40
41 <a class='next' id='next-photo' href='#'><%= t "about_page.next" %></a>