diaspora/app/views/comments/_comment.mobile.haml
Augier 207b6c6153 Port to Bootstrap 3
correcting images display on stream sidebar

Corrections on profile page
2015-06-04 18:05:43 +02:00

23 lines
899 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.
%li.comment{data:{guid:comment.id}, class: ("hidden" if(defined? hidden))}
.content
.col-xs-1
= person_image_link(comment.author, size: :thumb_small)
.col-xs-11
.from.pull-left
= person_link(comment.author)
.info
%span
= timeago(comment.created_at ? comment.created_at : Time.now)
.remove_comment
.pull-right
- if user_signed_in? && comment.author == current_user.person
= link_to(raw("<i class='entypo trash'></i>"), comment_path(comment), method: :delete,
data: { confirm: "#{t('are_you_sure')}" }, class: "remove")
.clearfix
%div{class: direction_for(comment.text)}
= comment.message.markdownified