-#   Copyright (c) 2010-2011, 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
  = t('contacts.spotlight.community_spotlight')

- content_for :head do
  = javascript_include_tag :people

#section_header
  %h2
    = t('contacts.index.title')

= render 'shared/contact_sidebar'

.span-18.last{:style => "position:relative;"}

  - if AppConfig.settings.community_spotlight.suggest_email.present?
    .right
      = link_to t('contacts.spotlight.suggest_member'), "mailto:#{AppConfig.settings.community_spotlight.suggest_email}", :class => "button"

  %h3
    = t('contacts.spotlight.community_spotlight')
  %br

  #community_spotlight
    - unless @people.blank?
      - @people.each do |person|
        = render 'community_spotlight/user', :person => person
