diaspora/app/views/status_messages/show.html.haml

23 lines
813 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.
.span-14.append-1.last
#stream
%h1.show_text
= person_image_link(@status_message.person)
= link_to @status_message.person.real_name, @status_message.person
= make_links(@status_message.message)
= "Posted #{how_long_ago(@status_message)} to"
- for aspect in current_user.aspects_with_post( @status_message.id )
= link_to aspect.name, aspect
- if current_user.owns? @status_message
%p
= link_to t('.destroy'), @status_message, :confirm => t('.are_you_sure'), :method => :delete
.span-9.last
#stream.show
%li.message{:id => @status_message.id}
= render "comments/comments", :post => @status_message