-# 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-wrapper{ :"data-conversation-path" => conversation_path(conversation) } .stream_element.conversation{:data=>{:guid=>conversation.id}, :class => ('unread' if unread_counts[conversation.id].to_i > 0)} .media .img = person_image_tag(conversation.author) .bg = render(:partial => 'conversation_subject', :locals => { :conversation => conversation, :unread_count => unread_counts[conversation.id].to_i }) .last_author .timestamp = t('ago', :time => time_ago_in_words(conversation.updated_at)) - if authors[conversation.id].present? = authors[conversation.id].name = link_to t('.participants'), '#', :class => 'participants_link', :"data-conversation-id" => conversation.id = render :partial => 'participants_popover', :locals => { :conversation => conversation }