Merge branch 'master' of github.com:diaspora/diaspora
This commit is contained in:
commit
1aef262165
2 changed files with 5 additions and 2 deletions
|
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
%ul#stream
|
%ul#stream
|
||||||
- for post in @posts
|
- for post in @posts
|
||||||
= render type_partial(post), :post => post
|
= render type_partial(post), :post => post unless post.class == Album
|
||||||
#pagination
|
#pagination
|
||||||
= will_paginate @posts
|
= will_paginate @posts
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,10 @@
|
||||||
= link_to post.album.name, object_path(post.album)
|
= link_to post.album.name, object_path(post.album)
|
||||||
|
|
||||||
%br
|
%br
|
||||||
= link_to (image_tag post.url(:thumb_large)), object_path(post)
|
|
||||||
|
= render "albums/album", :post => post.album
|
||||||
|
|
||||||
|
= link_to (image_tag post.url(:thumb_medium)), object_path(post)
|
||||||
|
|
||||||
%div.time
|
%div.time
|
||||||
= link_to(how_long_ago(post), photo_path(post))
|
= link_to(how_long_ago(post), photo_path(post))
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue