remove @backbone reference in people/show (thx @mrZYX for the catch); added loaders to people and tag pages

This commit is contained in:
danielgrippi 2012-01-27 10:53:03 -08:00
parent 014d5a1724
commit ff71bc5a44
3 changed files with 8 additions and 16 deletions

View file

@ -16,4 +16,3 @@
- if current_user.contacts.size < 2
= render 'aspects/no_contacts_message'

View file

@ -28,18 +28,9 @@
.stream_container
= render 'people/sub_header', :person => @person, :contact => @contact
/ hackity hack until we get a photo stream
- if @backbone && (@posts && @posts.length > 0) || (@stream && @stream.stream_posts.length > 0)
-if @post_type == :photos
= render 'photos/index', :photos => @posts
- else
#main_stream.stream
- else
#main_stream
%div{:style=>"text-align:center;", :class => "dull"}
- if @block.present?
%div{:style=>"text-align:center;", :class => "dull"}
= t('.ignoring', :name => @person.first_name)
- else
= t('.has_not_shared_with_you_yet', :name => @person.first_name)
#paginate

View file

@ -68,3 +68,5 @@
#main_stream.stream
#paginate