]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/site/welcome.html.erb
Make all names translatable
[rails.git] / app / views / site / welcome.html.erb
index f3a0b086db80a95de85bb89f30ceff1ad1d5125a..56159e29733bc2ac780d248cd9f6fc126a338da2 100644 (file)
@@ -1,3 +1,7 @@
+<% content_for :head do %>
+  <%= javascript_include_tag "welcome" %>
+<% end %>
+
 <% content_for :heading do %>
   <h2><%= t "welcome_page.title" %></h2>
   <h3><%= t "welcome_page.subtitle" %></h3>
 
 <div class='pad2 drop'>
   <h3><%= t "welcome_page.section_1.title" %></h3>
-  <div class='center'>
-    <span class='sprite large one-map'></span>
+  <div class='center one-map'>
+    <div class='sprite large one-map'>
+      <span class='one-map-name one-map-project-name'><%= t "layouts.project_name.title" %></span>
+      <% 1.upto(6) do |i| %>
+        <span class='one-map-name one-map-name-<%= i %>'><%= t "welcome_page.section_1.name_#{i}" %></span>
+      <% end %>
+    </div>
   </div>
   <p><%= t "welcome_page.section_1.paragraph_1_html" %></p>
-  <p><%= t "welcome_page.section_1.paragraph_2_html" %></p>
 </div>
 
 <div class='pad2 drop clearfix'>
 <div class='pad2 drop'>
   <h3><%= t "welcome_page.section_6.title" %></h3>
   <% if @user %>
-    <p><%= t "welcome_page.section_6.paragraph_1_html" %></p>
+    <p>
+      <%= t "welcome_page.section_6.paragraph_1_html" %>
+      <span class='edit-located'><%= t "welcome_page.section_6.paragraph_located" %></span>
+      <span class='edit-geocoded'><%= t "welcome_page.section_6.paragraph_geocoded_html" %></span>
+      <span class='edit-geolocated'><%= t "welcome_page.section_6.paragraph_geolocated" %></span>
+    </p>
+    <button class="edit-located edit-geocoded edit-geolocated start-mapping">Start Mapping</button>
   <% else %>
     <p><%= t "welcome_page.section_6.paragraph_1_no_user_html" %></p>
   <% end %>
-  <p><%= t "welcome_page.section_6.paragraph_2_html" %></p>
 </div>
 
-<div class='pad2 drop'>
-  <div class='fillE pad1'>
+<div class='note-box pad2 drop'>
+  <div class='pad1'>
     <h3><%= t "welcome_page.section_7.title" %></h3>
     <p><%= t "welcome_page.section_7.paragraph_1_html" %></p>
     <p><%= t "welcome_page.section_7.paragraph_2_html" %></p>