diff --git a/app/views/shared/_stream_element.html.haml b/app/views/shared/_stream_element.html.haml index fd007d5b9..a30eb497e 100644 --- a/app/views/shared/_stream_element.html.haml +++ b/app/views/shared/_stream_element.html.haml @@ -7,11 +7,13 @@ .content .from - .right - - reshare_aspects = aspects_without_post(aspects, post) - - unless reshare_aspects.empty? - = render 'shared/reshare', :aspects => reshare_aspects, :post => post - = link_to t('delete'), status_message_path(post), :confirm => t('are_you_sure'), :method => :delete, :remote => true, :class => "delete" + - if person.owner_id == current_user.id + .right + - reshare_aspects = aspects_without_post(aspects, post) + - unless reshare_aspects.empty? + = render 'shared/reshare', :aspects => reshare_aspects, :post => post + = link_to t('delete'), status_message_path(post), :confirm => t('are_you_sure'), :method => :delete, :remote => true, :class => "delete" + %h4 =person_link(person)