added finished state to sidbar for getting started
This commit is contained in:
parent
0b13168ba2
commit
9f5ba1a1ea
3 changed files with 8 additions and 2 deletions
|
|
@ -53,7 +53,12 @@
|
||||||
%span.current_gs_step
|
%span.current_gs_step
|
||||||
= t('.connect_services')
|
= t('.connect_services')
|
||||||
%br
|
%br
|
||||||
|
- if @step != 4
|
||||||
|
= link_to t('.finished'), getting_started_path(:step => 4)
|
||||||
|
- else
|
||||||
|
%span.current_gs_step
|
||||||
|
= t('.finished')
|
||||||
|
%br
|
||||||
.span-15.last
|
.span-15.last
|
||||||
.floating{:style=>"min-height:500px;"}
|
.floating{:style=>"min-height:500px;"}
|
||||||
= render "users/getting_started/step_#{@step}", :current_user => current_user
|
= render "users/getting_started/step_#{@step}", :current_user => current_user
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
|
|
||||||
%h1
|
%h1
|
||||||
= t('.set_up', :name => current_user.person.profile.first_name)
|
= t('.set_up', :name => current_user.person.profile.first_name || current_user.username)
|
||||||
.description
|
.description
|
||||||
= t('.ready_to_share')
|
= t('.ready_to_share')
|
||||||
%ul.inline_aspect_listing
|
%ul.inline_aspect_listing
|
||||||
|
|
|
||||||
|
|
@ -167,6 +167,7 @@ en:
|
||||||
edit_profile: "Edit your profile"
|
edit_profile: "Edit your profile"
|
||||||
define_aspects: "Define your aspects"
|
define_aspects: "Define your aspects"
|
||||||
connect_services: "Connect your services"
|
connect_services: "Connect your services"
|
||||||
|
finished: "Finished!"
|
||||||
skip: "skip getting started"
|
skip: "skip getting started"
|
||||||
save_and_continue: "Save and continue"
|
save_and_continue: "Save and continue"
|
||||||
step_1:
|
step_1:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue