diaspora/app/views/shared/_stream_element.mobile.haml
2011-03-13 21:16:43 +01:00

19 lines
601 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.
.stream_element{:data=>{:guid=>post.id}}
.right
%span.time
= time_ago_in_words(post.created_at)
= person_image_link(post.author, :size => :thumb_small)
.content
.from
= person_link(post.author)
= render 'status_messages/status_message', :post => post, :photos => post.photos
.info
= link_to "#{t('comments', :count => post.comments.length)} →", status_message_path(post), :class => 'comment_link'