]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/site/index.html.erb
Hook up 'Learn More' and 'Sign Up' buttons
[rails.git] / app / views / site / index.html.erb
index 985a735c36935b337bd5665e6bcb6fc9c5d1c6f3..8ec1cad1ffb7feccc655a6bf48ec5b4e6b680a6d 100644 (file)
@@ -5,6 +5,13 @@
 
 <p class="inner12 large-text"><%= t 'layouts.intro_text' %></p>
 
+<% if !@user %>
+  <div style="text-align: center;">
+    <a class="button" href="<%= about_path %>"><%= t('layouts.learn_more') %></a>
+    <a class="button" href="<%= user_new_path %>"><%= t('layouts.sign_up') %></a>
+  </div>
+<% end %>
+
 <div class='footer'>
   <a title="<%= t('layouts.make_a_donation.title') %>" href="http://donate.openstreetmap.org/" class="donate">
     <span class='icon donate'></span>