diaspora/app/views/albums/_album.html.haml
2010-07-28 16:12:49 -07:00

15 lines
368 B
Text

.album{:id => post.id, :class => ("mine" if mine?(post))}
%div.name
= link_to post.name, object_path(post)
%div.time
by
= album_person(post)
%br
= link_to(how_long_ago(post), object_path(post))
%div.image_cycle
- for photo in post.photos[0..3]
= link_to (image_tag photo.image.url(:thumb_large)), album_path(post)