From abebd18c98d325f8a2c15dd9d2d813aa27ea03d9 Mon Sep 17 00:00:00 2001 From: Raphael Date: Thu, 4 Nov 2010 19:29:15 -0700 Subject: [PATCH] Move getting_started self link color to a css class --- app/views/users/getting_started.html.haml | 6 +++--- public/stylesheets/sass/application.sass | 2 ++ 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/app/views/users/getting_started.html.haml b/app/views/users/getting_started.html.haml index aa0482983..f66c0fdba 100644 --- a/app/views/users/getting_started.html.haml +++ b/app/views/users/getting_started.html.haml @@ -36,19 +36,19 @@ - if @step != 1 = link_to t('.edit_profile'), getting_started_path(:step => 1) - else - %span{:style => "color: green;"} + %span.current_gs_step = t('.edit_profile') %br - if @step != 2 = link_to t('.define_aspects'), getting_started_path(:step => 2) - else - %span{:style => "color:green;"} + %span.current_gs_step = t('.define_aspects') %br - if @step != 3 = link_to t('.connect_services'), getting_started_path(:step => 3) - else - %span{:style => "color:green;"} + %span.current_gs_step = t('.connect_services') %br diff --git a/public/stylesheets/sass/application.sass b/public/stylesheets/sass/application.sass index 5577d829f..369b69151 100644 --- a/public/stylesheets/sass/application.sass +++ b/public/stylesheets/sass/application.sass @@ -1456,4 +1456,6 @@ ul.aspects :padding :left 120px +h3 span.current_gs_step + :color green