-# Copyright (c) 2010, Diaspora Inc. This file is -# licensed under the Affero General Public License version 3 or later. See -# the COPYRIGHT file. .stream_element{:id => person.id} .right{:style=>"display:inline;"} - if person.owner_id == current_user.id = t('.thats_you') - elsif contact && !contact.pending = t('.already_connected') - elsif (contact && contact.pending) || request = t('.pending_request') - else = link_to t('people.show.start_sharing'), {:controller => "people", :action => "share_with", :id => person.id}, :class => 'button', :rel => 'facebox' = person_image_link(person) .content %span.from =person_link(person) .info = person.diaspora_handle