aspects first on home contact list.
This commit is contained in:
parent
9442553504
commit
de0ecff5b7
2 changed files with 19 additions and 11 deletions
|
|
@ -8,17 +8,6 @@
|
||||||
= new_request_link(@request_count)
|
= new_request_link(@request_count)
|
||||||
|
|
||||||
#left_pane.everyone
|
#left_pane.everyone
|
||||||
%h3= t('.all_contacts')
|
|
||||||
|
|
||||||
.section.contact_pictures
|
|
||||||
- for contact in @contact_hashes
|
|
||||||
= person_image_link(contact[:person])
|
|
||||||
|
|
||||||
- if @contacts.count == 0
|
|
||||||
%h4
|
|
||||||
= t('.no_contacts')
|
|
||||||
= form_tag(people_path, :method => 'get') do
|
|
||||||
= text_field_tag 'q', nil, :placeholder => t('search'), :type => 'search', :results => 5
|
|
||||||
|
|
||||||
.section.aspect_listings
|
.section.aspect_listings
|
||||||
%h3
|
%h3
|
||||||
|
|
@ -30,6 +19,19 @@
|
||||||
- for a_hash in @aspect_hashes
|
- for a_hash in @aspect_hashes
|
||||||
= render :partial => 'aspects/aspect', :locals => a_hash
|
= render :partial => 'aspects/aspect', :locals => a_hash
|
||||||
|
|
||||||
|
.section.contact_pictures
|
||||||
|
%h3
|
||||||
|
= t('.all_contacts')
|
||||||
|
|
||||||
|
- for contact in @contact_hashes
|
||||||
|
= person_image_link(contact[:person])
|
||||||
|
|
||||||
|
- if @contacts.count == 0
|
||||||
|
%h4
|
||||||
|
= t('.no_contacts')
|
||||||
|
= form_tag(people_path, :method => 'get') do
|
||||||
|
= text_field_tag 'q', nil, :placeholder => t('search'), :type => 'search', :results => 5
|
||||||
|
|
||||||
.section
|
.section
|
||||||
%h3= t('shared.invitations.invites')
|
%h3= t('shared.invitations.invites')
|
||||||
= render "shared/invitations", :invites => @invites
|
= render "shared/invitations", :invites => @invites
|
||||||
|
|
|
||||||
|
|
@ -21,5 +21,11 @@
|
||||||
= will_paginate @posts
|
= will_paginate @posts
|
||||||
|
|
||||||
.span-8.last
|
.span-8.last
|
||||||
|
|
||||||
|
- if @request_count > 0
|
||||||
|
#new_request_pane{:class => "everyone"}
|
||||||
|
%h1.new_request{:style => 'text-align:center'}
|
||||||
|
= new_request_link(@request_count)
|
||||||
|
|
||||||
= render 'aspects/all_aspects_contacts'
|
= render 'aspects/all_aspects_contacts'
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue