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
|
||||
@user.update_attributes(:getting_started => false)
|
||||
flash[:notice] = I18n.t('users.getting_started.could_not_find_anyone')
|
||||
redirect_to root_path
|
||||
else
|
||||
render "users/getting_started"
|
||||
|
|
|
|||
|
|
@ -612,6 +612,7 @@ en:
|
|||
finished: "Finished!"
|
||||
skip: "skip getting started"
|
||||
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:
|
||||
finish: "Finish"
|
||||
people_already_on_diaspora: "People already on Diaspora"
|
||||
|
|
|
|||
Loading…
Reference in a new issue