took current user's name out of the layout

This commit is contained in:
danielvincent 2010-07-23 19:44:34 -07:00
parent 2cee4a0b94
commit ad61c290fb
4 changed files with 6 additions and 8 deletions

View file

@ -1,4 +1,8 @@
- if user_signed_in?
%h1#user_name
= link_to current_user.real_name, root_path
%span.description
= my_latest_message
%h1= title_for_page %h1= title_for_page
%ul#stream %ul#stream
- for post in @posts - for post in @posts

View file

@ -52,11 +52,6 @@
= render 'people/sidebar' if user_signed_in? = render 'people/sidebar' if user_signed_in?
.span-20.last .span-20.last
- if user_signed_in?
%h1#user_name
= link_to current_user.real_name, root_path
%span.description
= my_latest_message
= yield = yield
= render "posts/debug" = render "posts/debug"

View file

@ -1,4 +1,4 @@
- title "New Request" %h1 requests
= render 'form' = render 'form'

View file

@ -1,4 +1,3 @@
%h1 user page!
.span-20.last .span-20.last
%h1= "#{@user.real_name}" %h1= "#{@user.real_name}"
- if @user_profile - if @user_profile