Issue #496: Eliminate self-links in Getting Started

This commit is contained in:
J David Eisenberg 2010-10-31 12:16:07 -07:00
parent 07c216f31b
commit f54820f456
2 changed files with 18 additions and 3 deletions

View file

@ -33,11 +33,23 @@
Do the stuff below to further complete some things. Do the stuff below to further complete some things.
%h3{:style => "text-align:right;"} %h3{:style => "text-align:right;"}
= link_to "Edit your profile", getting_started_path(:step => 1) - if @step != 1
= link_to t('.edit_profile'), getting_started_path(:step => 1)
- else
%span{:style => "color: green;"}
= t('.edit_profile')
%br %br
= link_to "Define your aspects", getting_started_path(:step => 2) - if @step != 2
= link_to t('.define_aspects'), getting_started_path(:step => 2)
- else
%span{:style => "color:green;"}
= t('.define_aspects')
%br %br
= link_to "Connect your services", getting_started_path(:step => 3) - if @step != 3
= link_to t('.connect_services'), getting_started_path(:step => 3)
- else
%span{:style => "color:green;"}
= t('.connect_services')
%br %br
.span-15.last .span-15.last

View file

@ -148,6 +148,9 @@ en:
you_dont_have_any_photos: "You don't have any photos! Go to the" you_dont_have_any_photos: "You don't have any photos! Go to the"
page_to_upload_some: "page to upload some." page_to_upload_some: "page to upload some."
or: "or" or: "or"
edit_profile: "Edit your profile"
define_aspects: "Define your aspects"
connect_services: "Connect your services"
comments: comments:
comment: comment:
ago: "ago" ago: "ago"