Merge branch 'master' of github.com:diaspora/diaspora_rails
This commit is contained in:
commit
5be5d82eb7
4 changed files with 33 additions and 21 deletions
|
|
@ -1,24 +1,30 @@
|
|||
%h1= "#{@friend.real_name}"
|
||||
|
||||
- if @friend_profile
|
||||
%p
|
||||
%b First Name
|
||||
%p
|
||||
= @friend_profile.first_name
|
||||
%p
|
||||
%b Last Name
|
||||
%p
|
||||
= @friend_profile.last_name
|
||||
|
||||
%br
|
||||
%br
|
||||
%br
|
||||
%br
|
||||
.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
|
||||
%b First Name
|
||||
%p
|
||||
= @friend_profile.first_name
|
||||
%p
|
||||
%b Last Name
|
||||
%p
|
||||
= @friend_profile.last_name
|
||||
|
||||
- if @friend.posts
|
||||
%h3 stream
|
||||
%ul#stream
|
||||
- for post in @friend_posts
|
||||
= render type_partial(post), :post => post
|
||||
- else
|
||||
%h3 no posts to display!
|
||||
%br
|
||||
%br
|
||||
%br
|
||||
%br
|
||||
|
||||
.span-15
|
||||
- if @friend.posts
|
||||
%h3 stream
|
||||
%ul#stream
|
||||
- for post in @friend_posts
|
||||
= render type_partial(post), :post => post
|
||||
- else
|
||||
%h3 no posts to display!
|
||||
|
|
|
|||
BIN
public/images/user_picture.jpg
Normal file
BIN
public/images/user_picture.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 114 KiB |
|
|
@ -200,3 +200,6 @@ ul.comment_set {
|
|||
ul.comment_set li.comment .from a {
|
||||
color: #333333;
|
||||
font-weight: bold; }
|
||||
|
||||
img#profile_picture {
|
||||
width: 100%; }
|
||||
|
|
|
|||
|
|
@ -236,3 +236,6 @@ ul.comment_set
|
|||
:color #333
|
||||
:font
|
||||
:weight bold
|
||||
|
||||
img#profile_picture
|
||||
:width 100%
|
||||
|
|
|
|||
Loading…
Reference in a new issue