we need this for socketing... sorry
This commit is contained in:
parent
9707c5a124
commit
e7fb70cdd1
1 changed files with 14 additions and 0 deletions
14
app/views/comments/_comment.html.haml
Normal file
14
app/views/comments/_comment.html.haml
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
-# Copyright (c) 2010, 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}}
|
||||
%a{:href => "/people/#{person.id}"}
|
||||
%img{:src => image_or_default(person), :class => "avatar", :alt => person.real_name, :title => person.real_name, "data-person_id" => person.id}
|
||||
.content
|
||||
.from
|
||||
%a{:href => "/people/#{person.id}"}=person.real_name
|
||||
= markdownify(comment.text, :youtube_maps => comment[:youtube_titles])
|
||||
%div.time
|
||||
= comment.created_at ? "#{time_ago_in_words(comment.created_at)} #{t('ago')}" : time_ago_in_words(Time.now)
|
||||
|
||||
Loading…
Reference in a new issue