diaspora/app/views/bookmarks/_bookmark.html.haml
2010-07-17 13:59:04 -07:00

21 lines
598 B
Text

%li.message{:id => post.id, :class => ("mine" if mine?(post))}
= person_image_tag(post.person)
%span.from
= link_to_person post.person
%b shared a link
%br
= post.title
%a{:href => "#{post.link}"}
= post.link
%div.time
= link_to(how_long_ago(post), object_path(post))
\--
= link_to "show comments (#{post.comments.count})", '#', :class => "show_post_comments"
= render "comments/comments", :post => post
- if mine?(post)
.destroy_link
= link_to 'Delete', bookmark_path(post), :confirm => 'Are you sure?', :method => :delete, :remote => true