diff --git a/app/views/aspects/index.html.haml b/app/views/aspects/index.html.haml index 6275a3b77..948273dd8 100644 --- a/app/views/aspects/index.html.haml +++ b/app/views/aspects/index.html.haml @@ -25,8 +25,8 @@ .span-5.leftNavBar #home_user_badge = owner_image_link - %h3 - = current_user.first_name + %h4 + = link_to current_user.first_name, "/u/#{current_user.username}" .section %ul.left_nav diff --git a/public/stylesheets/sass/application.sass b/public/stylesheets/sass/application.sass index 4de97deb7..b57e10843 100644 --- a/public/stylesheets/sass/application.sass +++ b/public/stylesheets/sass/application.sass @@ -2338,12 +2338,15 @@ ul.show_comments, :position absolute :left 0 - h3 + h4 :position relative - :top 13px + :top 14px :padding :bottom 5px + a + :color inherit + :margin :bottom 54px diff --git a/spec/models/person_spec.rb b/spec/models/person_spec.rb index 6257ffd69..48d5f515d 100644 --- a/spec/models/person_spec.rb +++ b/spec/models/person_spec.rb @@ -282,11 +282,6 @@ describe Person do alice.person.first_name.should == "First Mid" 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 alice.person.profile.update_attributes(:first_name => "Alice") alice.person.first_name.should == "Alice"