-# Copyright (c) 2010, Diaspora Inc. This file is -# licensed under the Affero General Public License version 3 or later. See -# the COPYRIGHT file. %li.message{:id => person.id} = person_image_link(person) .content %span.from =person_link(person) .right{:style=>"display:inline;"} - if person.owner_id == current_user.id = t('.thats_you') - elsif contact = t('.already_connected') - elsif request = link_to t('.pending_request'), aspects_manage_path - else - single_aspect_form ||= nil = render(:partial => request_partial(single_aspect_form), :locals => {:aspects => aspects, :destination_handle => person.diaspora_handle}) .info = person.diaspora_handle