added a flash notice

This commit is contained in:
zhitomirskiyi 2011-03-23 11:44:10 -07:00
parent cc39243c88
commit 8a9a95d854
2 changed files with 2 additions and 0 deletions

View file

@ -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"

View file

@ -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"