diaspora/app/views/conversations/_show.mobile.haml
2015-07-03 15:31:29 +02:00

22 lines
801 B
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
.conversation_participants.header-full-width
.delete_conversation.pull-right
= link_to(raw("<i class='entypo-trash'></i>"), conversation_visibility_path(conversation),
method: 'delete', data: { confirm: "#{t('.delete')}?" }, class: "remove")
%h3
= conversation.subject
.last_message_timeago
!= t('.last_message', timeago: timeago(conversation.updated_at))
.avatars
- for participant in conversation.participants
.avatar
= person_image_link(participant, size: :thumb_small)
.clear
= render partial: 'messages', locals: { conversation: conversation }