_show.haml 1.1 KB
Newer Older
danielgrippi's avatar
danielgrippi committed
1
-#   Copyright (c) 2010-2011, Diaspora Inc.  This file is
2 3 4
-#   licensed under the Affero General Public License version 3 or later.  See
-#   the COPYRIGHT file.

5
.conversation-participants
6 7
  .control-icons.pull-right
    - if conversation.participants.count > 1
8
      = link_to content_tag(:i, nil, class: "entypo-cross"),
9
                conversation_visibility_path(conversation),
10 11 12 13
                method: "delete",
                data:   {confirm: "#{t('.hide')}?"},
                title:  t(".hide"),
                class:  "hide_conversation"
14
    - else
15
      = link_to content_tag(:i, nil, class: "entypo-trash"),
16
                conversation_visibility_path(conversation),
17 18 19 20
                method: "delete",
                data:   {confirm: "#{t('.delete')}?"},
                title:  t(".delete"),
                class:  "delete_conversation"
21

22 23
  %h3{ :class => direction_for(conversation.subject) }
    = conversation.subject
24

25
  - for participant in conversation.participants
26
    = person_image_link(participant, :size => :thumb_small)
27

28
.stream
Augier's avatar
Augier committed
29
  = render partial: 'messages', locals: { conversation: conversation }