diaspora/app/views/messages/_message.haml
2011-08-30 12:55:52 -07:00

16 lines
505 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.
.stream_element{:data=>{:guid=>message.id}}
= person_image_link(message.author, :size => :thumb_small)
.content
.from
= person_link(message.author, :class => 'author')
%time.timeago{:datetime => message.created_at}
= how_long_ago(message)
%p{ :class => direction_for(message.text) }
= markdownify(message)