Fix community spotlight styles

This commit is contained in:
Steffen van Bergerem 2016-08-10 19:32:12 +02:00
parent e152dc6549
commit 11f6ed2b9a
No known key found for this signature in database
GPG key ID: 2F08F75F9525C7E0
2 changed files with 9 additions and 8 deletions

View file

@ -1,15 +1,15 @@
- content_for :page_title do
= t('contacts.spotlight.community_spotlight')
.container#contacts_container
.row
.col-md-3
= render 'contacts/sidebar'
.sidebar
= render "contacts/sidebar"
.col-md-9
#people_stream.stream.contacts
.header
.stream.contacts.framed-content#people_stream
.header.clearfix
- if AppConfig.settings.community_spotlight.suggest_email.present?
.pull-right
= link_to t('contacts.spotlight.suggest_member'), "mailto:#{AppConfig.settings.community_spotlight.suggest_email}", :class => "btn btn-default", :id => "suggest_member"
@ -17,9 +17,9 @@
= t('contacts.spotlight.community_spotlight')
#community_spotlight
- unless @people.blank?
- if @people.blank?
.well
= t("contacts.spotlight.no_members")
- else
- @people.each do |person|
= render 'people/person', :person => person, :contact => current_user.contact_for(person)
-# if @contacts_size > 0
= render @contacts

View file

@ -265,6 +265,7 @@ en:
spotlight:
community_spotlight: "Community spotlight"
suggest_member: "Suggest a member"
no_members: "There are no members yet."
conversations:
index: