]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/layouts/map.html.erb
Eliminate loading flash for welcome overlay
[rails.git] / app / views / layouts / map.html.erb
index 2170705b00b20c7ff6a0186416172d5b39c18c14..2fe8b9b3bda7dae9e7f4733de061d39f9f018c33 100644 (file)
       <%= render :partial => "layouts/flash" %>
       <%= yield %>
     </div>
+
+    <% unless @user %>
+      <div class="welcome">
+        <h2><%= t 'layouts.intro_header' %></h2>
+        <p><%= t 'layouts.intro_text' %></p>
+        <a class="button learn-more" href="<%= about_path %>"><%= t('layouts.learn_more') %></a>
+        <a class="button sign-up" href="<%= user_new_path %>"><%= t('layouts.sign_up') %></a>
+      </div>
+    <% end %>
   </div>
 
   <noscript>