diaspora/app/views/aspects/_all_aspects_contacts.haml

39 lines
1.1 KiB
Text

-# Copyright (c) 2010, Diaspora Inc. This file is
-# licensed under the Affero General Public License version 3 or later. See
-# the COPYRIGHT file.
- if @request_count > 0
#new_request_pane{:class => "everyone"}
%h1.new_request{:style => 'text-align:center'}
= new_request_link(@request_count)
#left_pane
.section.aspect_listings
%h4
.right{:style=>"font-size:12px;"}
= link_to t('.manage_aspects'), aspects_manage_path
= t('.aspects')
%ul
- for a_hash in @aspect_hashes
= render :partial => 'aspects/aspect', :locals => a_hash
.section.contact_pictures
%h4
.right.description{:style => "top:-4px"}
= @contact_hashes.count
= t('.all_contacts')
- for contact in @contact_hashes
= person_image_link(contact[:person])
- if @contacts.count == 0
%h4
= t('.no_contacts')
= form_tag(people_path, :method => 'get') do
= text_field_tag 'q', nil, :placeholder => t('search'), :type => 'search', :results => 5
.section
%h3= t('shared.invitations.invites')
= render "shared/invitations", :invites => @invites