diaspora/app/views/contacts/index.html.haml
2016-02-14 00:12:11 +01:00

37 lines
1.1 KiB
Text

- content_for :page_title do
= t('.title')
.container-fluid#contacts_container
.row
.col-md-3
.sidebar
= render "contacts/sidebar"
.col-md-9
.stream.contacts.framed-content#people_stream
= render 'contacts/header'
- if @contacts_size > 0
- if @aspect && @aspect.contacts.length == 0
.well
= t('.no_contacts_in_aspect')
#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' }
= 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'