35 lines
1.1 KiB
Text
35 lines
1.1 KiB
Text
-# Copyright (c) 2010-2011, Diaspora Inc. This file is
|
|
-# licensed under the Affero General Public License version 3 or later. See
|
|
-# the COPYRIGHT file.
|
|
|
|
- content_for :head do
|
|
= include_javascripts :finder
|
|
|
|
#section_header
|
|
%h2
|
|
= t('contacts.index.title')
|
|
|
|
= render 'shared/contact_sidebar'
|
|
|
|
.span-18.last.searchable
|
|
/= search_field_tag :contact_search, "", :id => "contact_list_search", :class => 'contact_list_search', :results => 5, :placeholder => t('search')
|
|
%h3
|
|
= t('.service_friends', :service => params[:provider].titleize)
|
|
#people_stream.stream.contacts
|
|
- if @friends.size > 0
|
|
= render :partial => 'remote_friend', :collection => @friends, :as => :friend
|
|
|
|
= will_paginate @friends
|
|
- elsif @service
|
|
.no_contacts
|
|
%br
|
|
%br
|
|
%h4
|
|
= t('.fetching_contacts', :service => params[:provider].titleize)
|
|
- else
|
|
.no_contacts
|
|
= link_to(image_tag("social_media_logos/facebook-48x48.png"), "/auth/facebook")
|
|
%br
|
|
%br
|
|
%h4
|
|
= link_to t('services.index.connect_to_facebook'), '/auth/facebook'
|