diaspora/app/views/conversations/_show.haml
2011-03-03 17:32:26 -08:00

33 lines
1.1 KiB
Text

-# Copyright (c) 2010, Diaspora Inc. This file is
-# licensed under the Affero General Public License version 3 or later. See
-# the COPYRIGHT file.
.conversation_participants.span-16.last
.span-10
%h3
= conversation.subject
.conversation_controls
= link_to (image_tag('reply.png', :height => 14, :width => 14) + ' ' + 'reply'), '#', :id => 'reply_to_conversation'
= link_to (image_tag('deletelabel.png') + ' ' + t('delete').downcase), conversation_conversation_visibility_path(conversation), :method => 'delete', :confirm => t('are_you_sure')
.span-6.avatars.last
- for participant in conversation.participants
= person_image_link(participant)
%br
%br
%br
.span-16.last
.stream
= render :partial => 'messages/message', :collection => conversation.messages
.stream_element.new_message
= owner_image_tag
.content
= form_for [conversation, Message.new] do |message|
= message.text_area :text, :rows => 5
.right
= message.submit 'Reply'
= link_to 'Cancel', '#'