From: Aaron Lidman Date: Wed, 6 Nov 2013 21:50:14 +0000 (-0800) Subject: Add conditions to index sidebar X-Git-Tag: live~4682^2~165 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/9b2791fdd968a39c2d424f74a714ade96bc460a8 Add conditions to index sidebar --- diff --git a/app/views/site/index.html.erb b/app/views/site/index.html.erb index 8ec1cad1f..3eba3e6d5 100644 --- a/app/views/site/index.html.erb +++ b/app/views/site/index.html.erb @@ -1,11 +1,14 @@

- <%= t 'layouts.intro_header' %> - + <% if !@user %> + <%= t 'layouts.intro_header' %> + <% else %> + + <% end %>

-

<%= t 'layouts.intro_text' %>

- <% if !@user %> +

<%= t 'layouts.intro_text' %>

+
<%= t('layouts.learn_more') %> <%= t('layouts.sign_up') %>