-# Copyright (c) 2010, Diaspora Inc. This file is -# licensed under the Affero General Public License version 3 or later. See -# the COPYRIGHT file. .span-4.append-1.last = render :partial => 'people/profile_sidebar', :locals => {:person => @person, :is_contact => @is_contact} .span-15.last = render 'shared/author_info', :person => @person - if @contact || current_user.person == @person - if @posts.count > 0 -if @post_type == :photos = render 'photos/index', :photos => @posts - else = render 'shared/stream', :posts => @posts = will_paginate @posts - else %h3= t('.no_posts') - else .floating %h3 = t('.not_connected', :name => @person.real_name) - unless @pending_request %h3 .description = t('.request_people') = render :partial =>'requests/new_request_to_person', :locals => {:aspects => @aspects, :destination_handle => @person.diaspora_handle} - else %h3 .description = t('.already_requested', :name => @person.real_name)