DG IZ picture in the profile

This commit is contained in:
ilya 2010-06-28 23:39:55 -04:00
parent 0fa11806ba
commit 775aab996a
3 changed files with 33 additions and 21 deletions

View file

@ -1,6 +1,11 @@
%h1= "#{@friend.real_name}"
- if @friend_profile
.span-15
.span-4.append-1.last
%img{:src => "/images/user_picture.jpg", :id => "profile_picture"}
.span-10.last
%h1= "#{@friend.real_name}"
- if @friend_profile
%p %p
%b First Name %b First Name
%p %p
@ -10,15 +15,16 @@
%p %p
= @friend_profile.last_name = @friend_profile.last_name
%br %br
%br %br
%br %br
%br %br
- if @friend.posts .span-15
- if @friend.posts
%h3 stream %h3 stream
%ul#stream %ul#stream
- for post in @friend_posts - for post in @friend_posts
= render type_partial(post), :post => post = render type_partial(post), :post => post
- else - else
%h3 no posts to display! %h3 no posts to display!

View file

@ -200,3 +200,6 @@ ul.comment_set {
ul.comment_set li.comment .from a { ul.comment_set li.comment .from a {
color: #333333; color: #333333;
font-weight: bold; } font-weight: bold; }
img#profile_picture {
width: 100%; }

View file

@ -236,3 +236,6 @@ ul.comment_set
:color #333 :color #333
:font :font
:weight bold :weight bold
img#profile_picture
:width 100%