Make all names translatable
[rails.git] / app / views / site / welcome.html.erb
1 <% content_for :head do %>
2   <%= javascript_include_tag "welcome" %>
3 <% end %>
4
5 <% content_for :heading do %>
6   <h2><%= t "welcome_page.title" %></h2>
7   <h3><%= t "welcome_page.subtitle" %></h3>
8 <% end %>
9
10 <div class='pad2'>
11   <p><%= t "welcome_page.introduction_html" %></p>
12 </div>
13
14 <div class='pad2 drop'>
15   <h3><%= t "welcome_page.section_1.title" %></h3>
16   <div class='center one-map'>
17     <div class='sprite large one-map'>
18       <span class='one-map-name one-map-project-name'><%= t "layouts.project_name.title" %></span>
19       <% 1.upto(6) do |i| %>
20         <span class='one-map-name one-map-name-<%= i %>'><%= t "welcome_page.section_1.name_#{i}" %></span>
21       <% end %>
22     </div>
23   </div>
24   <p><%= t "welcome_page.section_1.paragraph_1_html" %></p>
25 </div>
26
27 <div class='pad2 drop clearfix'>
28   <h3><%= t "welcome_page.section_2.title" %></h3>
29   <div class='col6 pad1'>
30     <div class='center pad1'>
31       <span class='sprite small check'></span>
32     </div>
33     <p><%= t "welcome_page.section_2.on_html" %></p>
34   </div>
35   <div class='col6 pad1'>
36     <div class='center pad1'>
37       <span class='sprite small x'></span>
38     </div>
39     <p><%= t "welcome_page.section_2.off_html" %></p>
40   </div>
41 </div>
42
43 <% if @user %>
44   <div class='pad2 drop'>
45     <h3><%= t "welcome_page.section_3.title" %></h3>
46     <p><%= t "welcome_page.section_3.paragraph_2_html" %></p>
47   </div>
48 <% else %>
49   <div class='pad2 drop'>
50     <h3><%= t "welcome_page.section_3.title_no_user" %></h3>
51     <p><%= t "welcome_page.section_3.paragraph_1_html" %></p>
52     <p><%= t "welcome_page.section_3.paragraph_2_html" %></p>
53   </div>
54 <% end %>
55
56 <div class='pad2 drop'>
57   <h3><%= t "welcome_page.section_4.title" %></h3>
58   <p><%= t "welcome_page.section_4.paragraph_1_html" %></p>
59   <div class='col12 clearfix'>
60     <p>
61       <span class='sprite small term editor'></span>
62       <%= t "welcome_page.section_4.editor_html" %>
63     </p>
64     <p>
65       <span class='sprite small term node'></span>
66       <%= t "welcome_page.section_4.node_html" %>
67     </p>
68     <p>
69       <span class='sprite small term way'></span>
70       <%= t "welcome_page.section_4.way_html" %>
71     </p>
72     <p>
73       <span class='sprite small term changeset'></span>
74       <%= t "welcome_page.section_4.changeset_html" %>
75     </p>
76   </div>
77 </div>
78
79 <div class='pad2 drop'>
80   <h3><%= t "welcome_page.section_5.title" %></h3>
81   <div class='center pad1'>
82     <span class='sprite small term question'></span>
83   </div>
84   <p><%= t "welcome_page.section_5.paragraph_1_html" %></p>
85 </div>
86
87 <div class='pad2 drop'>
88   <h3><%= t "welcome_page.section_6.title" %></h3>
89   <% if @user %>
90     <p>
91       <%= t "welcome_page.section_6.paragraph_1_html" %>
92       <span class='edit-located'><%= t "welcome_page.section_6.paragraph_located" %></span>
93       <span class='edit-geocoded'><%= t "welcome_page.section_6.paragraph_geocoded_html" %></span>
94       <span class='edit-geolocated'><%= t "welcome_page.section_6.paragraph_geolocated" %></span>
95     </p>
96     <button class="edit-located edit-geocoded edit-geolocated start-mapping">Start Mapping</button>
97   <% else %>
98     <p><%= t "welcome_page.section_6.paragraph_1_no_user_html" %></p>
99   <% end %>
100 </div>
101
102 <div class='note-box pad2 drop'>
103   <div class='pad1'>
104     <h3><%= t "welcome_page.section_7.title" %></h3>
105     <p><%= t "welcome_page.section_7.paragraph_1_html" %></p>
106     <p><%= t "welcome_page.section_7.paragraph_2_html" %></p>
107   </div>
108 </div>