Commit 2b8635f0 authored by zhitomirskiyi's avatar zhitomirskiyi
Browse files

hide share request button for people already on diaspora in friend finder (for now)

parent 4fb271b3
......@@ -28,13 +28,13 @@
= t('people.person.already_connected')
- elsif (friend[:contact] && friend[:contact].pending)
= t('people.person.pending_request')
- elsif friend[:person]
= link_to t('people.show.start_sharing'),
{:controller => "people",
:action => "share_with",
:id => friend[:person].id},
:class => 'button',
:rel => 'facebox'
/- elsif friend[:person]
/= link_to t('people.show.start_sharing'),
/ {:controller => "people",
/ :action => "share_with",
/ :id => friend[:person].id},
/ :class => 'button',
/ :rel => 'facebox'
- elsif friend[:invitation_id]
= t('invitations.new.already_invited')
%br
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment