-# Copyright (c) 2010-2011, Diaspora Inc. This file is -# licensed under the Affero General Public License version 3 or later. See -# the COPYRIGHT file. .conversation_participants - if conversation.participants.count > 1 = link_to(content_tag(:div, nil, :class => 'icons-deletelabel'), conversation_visibility_path(conversation), :method => 'delete', :data => { :confirm => "#{t('.hide')}?" }, :title => t('.hide'), :class => 'close_conversation') - else = link_to(content_tag(:div, nil, :class => 'icons-deletelabel'), conversation_visibility_path(conversation), :method => 'delete', :data => { :confirm => "#{t('.delete')}?" }, :title => t('.delete'), :class => 'close_conversation') %h3{ :class => direction_for(conversation.subject) } = conversation.subject - for participant in conversation.participants = person_image_link(participant, :size => :thumb_small) .stream = render :partial => 'messages/message', :collection => conversation.messages .stream_element.new_message .media .img = owner_image_tag(:thumb_small) .bd = form_for [conversation, Message.new] do |message| = message.text_area :text, :class => 'span12', :rows => 5, :tabindex => 1 = message.submit t('.reply').capitalize, 'data-disable-with' => t('.replying'), class: 'btn btn-primary pull-right creation', tabindex: 2