-# Copyright (c) 2010, Diaspora Inc. This file is -# licensed under the Affero General Public License version 3 or later. See -# the COPYRIGHT file. .span-12.last %h2 .right = link_to 'new message', new_conversation_path, :class => 'button' Inbox - if @conversations.count > 0 .stream - for conversation in @conversations .stream_element .right = link_to image_tag('deletelabel.png'), conversation_conversation_visibility_path(conversation), :method => 'delete', :confirm => t('are_you_sure') .from = conversation.messages.last.author.name %p = link_to conversation.subject, conversation %p = link_to conversation.messages.last, conversation - else %i You have no messages