From 9b2791fdd968a39c2d424f74a714ade96bc460a8 Mon Sep 17 00:00:00 2001 From: Aaron Lidman Date: Wed, 6 Nov 2013 13:50:14 -0800 Subject: [PATCH] Add conditions to index sidebar --- app/views/site/index.html.erb | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) 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') %> -- 2.43.2