31 lines
794 B
Text
31 lines
794 B
Text
-# 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}
|
|
|
|
.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
|
|
- single_aspect_form ||= nil
|
|
= link_to "start sharing",
|
|
{:controller => "people",
|
|
:action => "share_with",
|
|
:id => person.id},
|
|
:class => 'button share_with_button'
|
|
|
|
= person_image_link(person)
|
|
|
|
.content
|
|
%span.from
|
|
=person_link(person)
|
|
|
|
|
|
.info
|
|
= person.diaspora_handle
|
|
|