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