diaspora/app/views/conversations/_show.haml
Augier 207b6c6153 Port to Bootstrap 3
correcting images display on stream sidebar

Corrections on profile page
2015-06-04 18:05:43 +02:00

29 lines
1.1 KiB
Text

-# 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
.control-icons.pull-right
- if conversation.participants.count > 1
= link_to(content_tag(:i, nil, :class => 'entypo cross'),
conversation_visibility_path(conversation),
:method => 'delete',
:data => { :confirm => "#{t('.hide')}?" },
:title => t('.hide'),
:class => 'hide_conversation')
- else
= link_to(content_tag(:i, nil, :class => 'entypo trash'),
conversation_visibility_path(conversation),
:method => 'delete',
:data => { :confirm => "#{t('.delete')}?" },
:title => t('.delete'),
:class => 'delete_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', locals: { conversation: conversation }