diaspora/app/views/contacts/index.html.haml
Augier 207b6c6153 Port to Bootstrap 3
correcting images display on stream sidebar

Corrections on profile page
2015-06-04 18:05:43 +02:00

36 lines
1 KiB
Text

- content_for :page_title do
= t('.title')
.container-fluid#contacts_container
.row
.col-md-3
= render 'contacts/sidebar'
.col-md-9
#people_stream.stream.contacts
= 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'