Newer
Older
danielvincent
a validé
-# 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}}
= person_image_link(post.author, :size => :thumb_small)
danielvincent
a validé
.content
.from
danielvincent
a validé
- elsif reshare?(post)
= render 'reshares/reshare', :reshare => post, :post => post.root
- else
= render 'status_messages/status_message', :post => post, :photos => post.photos
danielvincent
a validé
.info
%span.time{:integer => post.created_at.to_i}
= t('ago', :time => time_ago_in_words(post.created_at))
%span.via
- if post.activity_streams?
= t('.via', :link => link_to("#{post.provider_display_name}", post.actor_url)).html_safe
Raphael Sofaer
a validé
= link_to "#{t('comments', :count => post.comments.length)} →", post_path(post), :class => 'comment_link right'