From: Aaron Lidman Date: Wed, 6 Nov 2013 18:24:27 +0000 (-0800) Subject: Hook up 'Learn More' and 'Sign Up' buttons X-Git-Tag: live~4657^2~181 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/4baa17511f26d6a1e1cf1bbb343ebc2746b3666d?hp=89a132d31c8ca3b446c716860e55bf31bc811bd0 Hook up 'Learn More' and 'Sign Up' buttons --- diff --git a/app/views/site/index.html.erb b/app/views/site/index.html.erb index be0acc396..8ec1cad1f 100644 --- a/app/views/site/index.html.erb +++ b/app/views/site/index.html.erb @@ -5,10 +5,12 @@

<%= t 'layouts.intro_text' %>

-
- Learn More - Sign Up -
+<% if !@user %> +
+ <%= t('layouts.learn_more') %> + <%= t('layouts.sign_up') %> +
+<% end %>