23 lines
967 B
Text
23 lines
967 B
Text
-# Copyright (c) 2010-2011, Diaspora Inc. This file is
|
|
-# licensed under the Affero General Public License version 3 or later. See
|
|
-# the COPYRIGHT file.
|
|
|
|
.reshare
|
|
- if post
|
|
.content
|
|
.from
|
|
= person_image_link(post.author, :size => :thumb_small)
|
|
= person_link(post.author)
|
|
.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
|
|
|
|
- if post.activity_streams?
|
|
= link_to image_tag(post.image_url, 'data-small-photo' => post.image_url, 'data-full-photo' => post.image_url, :class => 'stream-photo'), post.object_url, :class => "stream-photo-link"
|
|
- else
|
|
= render 'status_messages/status_message', :post => post, :photos => post.photos
|
|
- else
|
|
= t('.deleted')
|