diaspora/app/views/contacts/index.html.haml
2015-02-12 03:34:24 +01:00

33 lines
991 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
#contact_stream
-# JS
- else
.no_contacts
%h3
= t('.no_contacts')
%p
!= t('.no_contacts_message',
:community_spotlight => link_to(t('.community_spotlight'), community_spotlight_path))
%p
.btn.btn-link{ 'data-toggle' => 'modal', 'data-target' => '#invitationsModal'}
= t('invitations.new.invite_someone_to_join')
-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'