allowing users to dismiss new user toolips

This commit is contained in:
Ilya Zhitomirskiy 2011-10-24 15:57:25 -07:00
parent 62e12f248c
commit c447415d9f
2 changed files with 9 additions and 5 deletions

View file

@ -8,11 +8,14 @@
- if current_user.getting_started?
#welcome-to-diaspora
.container
%h1
= t('.welcome_to_diaspora', :name => current_user.first_name)
%h3
= t('.time_to_introduce_yourself')
.container{:style => "position: relative;"}
.right
= link_to image_tag('deletelabel.png'), getting_started_completed_path
.span-23
%h1
= t('.welcome_to_diaspora', :name => current_user.first_name)
%h3
= t('.time_to_introduce_yourself')
%br
%br
%br

View file

@ -69,6 +69,7 @@ Diaspora::Application.routes.draw do
# Users and people
resource :user, :only => [:edit, :update, :destroy], :shallow => true do
get :getting_started_completed
get :export
get :export_photos
end