Skip to content
Extraits de code Groupes Projets
_contact_list.html.haml 708 o
-#   Copyright (c) 2010-2011, Diaspora Inc.  This file is
-#   licensed under the Affero General Public License version 3 or later.  See
-#   the COPYRIGHT file.


.contact_list_controls
  = search_field_tag :contact_search, "", id: "contact_list_search", class: 'contact_list_search', results: 5, placeholder: t('.all_contacts')
  = t('contacts', count: @aspect_contacts_count)

.contact_list.searchable
  %ul.contacts
    - for contact in contacts
      %li.contact{:data=>{:contact_id=>contact.id}}
        = person_image_tag contact.person
        %h4.name
          = link_to contact.person.name, contact.person
        .pull-right
          = aspect_membership_button(aspect, contact, contact.person)