added a flash notice
This commit is contained in:
parent
cc39243c88
commit
8a9a95d854
2 changed files with 2 additions and 0 deletions
|
|
@ -109,6 +109,7 @@ class UsersController < ApplicationController
|
||||||
|
|
||||||
if @step == 3 && @requests.length == 0 && @friends.length == 0
|
if @step == 3 && @requests.length == 0 && @friends.length == 0
|
||||||
@user.update_attributes(:getting_started => false)
|
@user.update_attributes(:getting_started => false)
|
||||||
|
flash[:notice] = I18n.t('users.getting_started.could_not_find_anyone')
|
||||||
redirect_to root_path
|
redirect_to root_path
|
||||||
else
|
else
|
||||||
render "users/getting_started"
|
render "users/getting_started"
|
||||||
|
|
|
||||||
|
|
@ -612,6 +612,7 @@ en:
|
||||||
finished: "Finished!"
|
finished: "Finished!"
|
||||||
skip: "skip getting started"
|
skip: "skip getting started"
|
||||||
save_and_continue: "Save and continue"
|
save_and_continue: "Save and continue"
|
||||||
|
could_not_find_anyone: "Could not find any friends on Diaspora*. Use the friend finder to invite them."
|
||||||
step_3:
|
step_3:
|
||||||
finish: "Finish"
|
finish: "Finish"
|
||||||
people_already_on_diaspora: "People already on Diaspora"
|
people_already_on_diaspora: "People already on Diaspora"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue