diaspora/app/views/contacts/index.html.haml
2014-10-01 12:28:56 +02:00

29 lines
877 B
Text

- content_for :page_title do
= t('.title')
.container-fluid#contacts_container
.row-fluid
.span3
= render 'contacts/sidebar'
.span9
#people_stream.stream.contacts
= render 'contacts/header'
- if @contacts_size > 0
- @contacts.each do |contact|
= render 'contacts/contact', :contact => contact
- else
.no_contacts
%h3
= t('.no_contacts')
%p
!= t('.no_contacts_message',
:community_spotlight => link_to(t('.community_spotlight'), community_spotlight_path))
-if @aspect
#new_conversation_pane
= render 'shared/modal',
:path => new_conversation_path(:aspect_id => @aspect.id, :name => @aspect.name, :modal => true),
:title => t('conversations.index.new_conversation'),
:id => 'conversationModal'