diaspora/app/views/comments/_comment.html.haml
2010-12-12 15:55:51 +01:00

14 lines
574 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.
- comment = hash[:comment]
- person = hash[:person]
%li.comment{:data=>{:guid=>comment.id}, :class => ("hidden" if(defined? hidden))}
=person_image_link(person)
.content
.from
=person_link(person)
= markdownify(comment.text, :youtube_maps => comment[:youtube_titles])
%div.time
= comment.created_at ? t('ago', :time => time_ago_in_words(comment.created_at)) : time_ago_in_words(Time.now)