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
|
.span-15
|
||||||
%br
|
.span-4.append-1.last
|
||||||
%br
|
%img{:src => "/images/user_picture.jpg", :id => "profile_picture"}
|
||||||
%br
|
.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
|
%br
|
||||||
%h3 stream
|
%br
|
||||||
%ul#stream
|
%br
|
||||||
- for post in @friend_posts
|
%br
|
||||||
= render type_partial(post), :post => post
|
|
||||||
- else
|
.span-15
|
||||||
%h3 no posts to display!
|
- 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 {
|
ul.comment_set li.comment .from a {
|
||||||
color: #333333;
|
color: #333333;
|
||||||
font-weight: bold; }
|
font-weight: bold; }
|
||||||
|
|
||||||
|
img#profile_picture {
|
||||||
|
width: 100%; }
|
||||||
|
|
|
||||||
|
|
@ -236,3 +236,6 @@ ul.comment_set
|
||||||
:color #333
|
:color #333
|
||||||
:font
|
:font
|
||||||
:weight bold
|
:weight bold
|
||||||
|
|
||||||
|
img#profile_picture
|
||||||
|
:width 100%
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue