made name smaller and clickable on aspects/index [ci skip]

This commit is contained in:
danielgrippi 2011-10-24 21:43:32 -07:00
parent 19897df1ec
commit 0512ade65a
3 changed files with 7 additions and 9 deletions

View file

@ -25,8 +25,8 @@
.span-5.leftNavBar .span-5.leftNavBar
#home_user_badge #home_user_badge
= owner_image_link = owner_image_link
%h3 %h4
= current_user.first_name = link_to current_user.first_name, "/u/#{current_user.username}"
.section .section
%ul.left_nav %ul.left_nav

View file

@ -2338,12 +2338,15 @@ ul.show_comments,
:position absolute :position absolute
:left 0 :left 0
h3 h4
:position relative :position relative
:top 13px :top 14px
:padding :padding
:bottom 5px :bottom 5px
a
:color inherit
:margin :margin
:bottom 54px :bottom 54px

View file

@ -282,11 +282,6 @@ describe Person do
alice.person.first_name.should == "First Mid" alice.person.first_name.should == "First Mid"
end end
it 'returns first word in first_name if first_name is present' do
alice.person.profile.update_attributes(:first_name => "Alice Smith")
alice.person.first_name.should == "Alice"
end
it 'returns first word in first_name if first_name is present' do it 'returns first word in first_name if first_name is present' do
alice.person.profile.update_attributes(:first_name => "Alice") alice.person.profile.update_attributes(:first_name => "Alice")
alice.person.first_name.should == "Alice" alice.person.first_name.should == "Alice"