]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/site/welcome.html.erb
Don't display a box at all if the note event doesn't include a comment body
[rails.git] / app / views / site / welcome.html.erb
index 78dd515528ad25512853014a349919d75adafbf2..92220039a0ea86609dc3093bca70173d351c3b81 100644 (file)
@@ -3,68 +3,71 @@
 <% end %>
 
 <% content_for :heading do %>
-  <h2><%= t "welcome_page.title" %></h2>
+  <h1><%= t "welcome_page.title" %></h1>
 <% end %>
 
-<div class='pad2'>
-  <p><%= t "welcome_page.introduction_html" %></p>
-</div>
+<p><%= t "welcome_page.introduction_html" %></p>
+
+<h3><%= t "welcome_page.whats_on_the_map.title" %></h3>
 
-<div class='pad2 clearfix'>
-  <h3><%= t "welcome_page.whats_on_the_map.title" %></h3>
-  <div class='col6 pad1'>
-    <div class='center pad1'>
+<div class=' clearfix'>
+  <div class='col6 inner11'>
+    <div class='center clearfix inner11'>
       <span class='sprite small check'></span>
     </div>
     <p><%= t "welcome_page.whats_on_the_map.on_html" %></p>
   </div>
-  <div class='col6 pad1'>
-    <div class='center pad1'>
+  <div class='col6 inner11'>
+    <div class='center clearfix inner11'>
       <span class='sprite small x'></span>
     </div>
     <p><%= t "welcome_page.whats_on_the_map.off_html" %></p>
   </div>
 </div>
 
-<div class='pad2'>
-  <h3><%= t "welcome_page.basic_terms.title" %></h3>
-  <p><%= t "welcome_page.basic_terms.paragraph_1_html" %></p>
-  <div class='col12 clearfix'>
-    <p>
-      <span class='sprite small term editor'></span>
-      <%= t "welcome_page.basic_terms.editor_html" %>
-    </p>
-    <p>
-      <span class='sprite small term node'></span>
-      <%= t "welcome_page.basic_terms.node_html" %>
-    </p>
-    <p>
-      <span class='sprite small term way'></span>
-      <%= t "welcome_page.basic_terms.way_html" %>
-    </p>
-    <p>
-      <span class='sprite small term changeset'></span>
-      <%= t "welcome_page.basic_terms.changeset_html" %>
-    </p>
+<h3><%= t "welcome_page.basic_terms.title" %></h3>
+
+<p><%= t "welcome_page.basic_terms.paragraph_1_html" %></p>
+
+<div class='col12 clearfix icon-list'>
+  <div class='clearfix'>
+    <span class='sprite small term editor'></span>
+    <p><%= t "welcome_page.basic_terms.editor_html" %></p>
+  </div>
+  <div class='clearfix'>
+    <span class='sprite small term node'></span>
+    <p><%= t "welcome_page.basic_terms.node_html" %></p>
+  </div>
+  <div class='clearfix'>
+    <span class='sprite small term way'></span>
+    <p><%= t "welcome_page.basic_terms.way_html" %></p>
+  </div>
+  <div class='clearfix'>
+    <span class='sprite small term tag'></span>
+    <p><%= t "welcome_page.basic_terms.tag_html" %></p>
   </div>
 </div>
 
-<div class='pad2'>
+<div class='col12 clearfix icon-list'>
+  <h3><%= t "welcome_page.rules.title" %></h3>
+  <span class='sprite small term rules'></span>
+  <p><%= t "welcome_page.rules.paragraph_1_html" %></p>
+</div>
+
+<div class='col12 clearfix icon-list'>
   <h3><%= t "welcome_page.questions.title" %></h3>
-  <div class='center pad1'>
-    <span class='sprite small term question'></span>
-  </div>
-  <p><%= t "welcome_page.questions.paragraph_1_html" %></p>
+  <span class='sprite small term question'></span>
+  <p><%= t "welcome_page.questions.paragraph_1_html", :help_url => help_path %></p>
 </div>
 
-<div class='pad2 center'>
-  <a href="<%= edit_path %>" class="start-mapping"><%= t "welcome_page.start_mapping" %></a>
+<div class='clearfix center'>
+  <a href="<%= edit_path %>" class="button start-mapping"><%= t "welcome_page.start_mapping" %></a>
 </div>
 
-<div class='note-box pad2 drop'>
-  <div class='pad1'>
+<div class='note-box'>
+  <div class='inner22'>
     <h3><%= t "welcome_page.add_a_note.title" %></h3>
     <p><%= t "welcome_page.add_a_note.paragraph_1_html" %></p>
-    <p><%= t "welcome_page.add_a_note.paragraph_2_html" %></p>
+    <p><%= t "welcome_page.add_a_note.paragraph_2_html", :map_url => root_path %></p>
   </div>
 </div>