18 lines
615 B
Text
18 lines
615 B
Text
-# Copyright (c) 2010, Diaspora Inc. This file is
|
|
-# licensed under the Affero General Public License version 3 or later. See
|
|
-# the COPYRIGHT file.
|
|
|
|
.album{:id => post.id, :class => ("mine" if current_user.owns?(post))}
|
|
%div.name
|
|
= link_to post.name, album_path(post)
|
|
|
|
%div.time
|
|
by
|
|
= link_to ((current_user.person == post.person)? t('.you') : post.person.real_name), person_path(post.person)
|
|
%br
|
|
= link_to(how_long_ago(post), album_path(post))
|
|
|
|
%div.image_cycle
|
|
- for photo in post.photos[0..3]
|
|
= link_to (image_tag photo.url(:thumb_large)), album_path(post)
|
|
|