negos_app/app/views/public/comments/_comment.html.haml
2016-02-16 21:09:48 +01:00

26 lines
600 B
Plaintext
Executable File

.comment#comment{:class => ("author" if comment.email == "info@nicolasbally.com"), :id => comment.id}
%aside=gravatar_image_tag(comment.email? ? comment.email : comment.pseudo, :gravatar => {:default => "http://#{HOSTNAME}/default_avatar.jpg"})
%p.header
Commentaire de
%strong
-if comment.website?
=link_to comment.pseudo, comment.website, :target => "_blank"
-else
=comment.pseudo
%time.updated{:datetime => Time.now, :pubdate => true}
envoyé
="le "+l(comment.created_at, :format => :human_date)
%blockquote=simple_format comment.comment