-# Copyright (c) 2010, Diaspora Inc. This file is -# licensed under the Affero General Public License version 3 or later. See -# the COPYRIGHT file. - content_for :page_title do profile .span-4.append-1.last %h2= @person.real_name #profile .profile_photo = person_image_link(@person) %ul -unless @posts.first.nil? %li %b.small= @person.diaspora_handle %li %i= t(".last_seen",:how_long_ago => how_long_ago(@posts.first)) - if @person != current_user.person && current_user.friends.include?(@person) %li %i= t(".friends_since",:how_long_ago => how_long_ago(@person)) %li .person_aspects ➔ %ul - for aspect in @aspects_with_person %li= link_to aspect.name, aspect - if @person != current_user.person && current_user.friends.include?(@person) = link_to t('.remove_friend'), @person, :confirm => t('.are_you_sure'), :method => :delete, :class => "button" .span-15.last - if @posts.count > 0 %ul#stream - for post in @posts = render type_partial(post), :post => post unless post.class == Album = will_paginate @posts - else %h3= t('.no_posts')