diaspora/app/views/comments/_comment.mobile.haml
2011-12-08 16:16:57 -08:00

16 lines
596 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
.from
= person_image_link(comment.author)
= person_link(comment.author)
.info
%span.time.timeago{:datetime => comment.created_at}
= comment.created_at ? time_ago_in_words(comment.created_at) : time_ago_in_words(Time.now)
%div{:class => direction_for(comment.text)}
= markdownify(comment)