diaspora/app/views/people/index.html.haml
2010-11-30 13:07:02 -08:00

18 lines
587 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.
.span-15.prepend-5.last
%h2
=t('.results_for')
%u= params[:q]
%ul{:class => 'stream people', :id => 'people_stream'}
- for person in @people
= render 'people/person',
:person => person,
:aspects => @aspects,
:contact => @contacts.detect{|contact| contact.person_id == person.id},
:request => @requests.detect{|request| request.to_id == person.id}
= will_paginate @people