Merge pull request #1732 from ticho/no-posts-message-outside-of-stream

Move no_posts_message rendering above the stream
This commit is contained in:
Daniel Grippi 2011-08-05 10:28:00 -07:00
commit a0cdf6869c

View file

@ -18,10 +18,10 @@
= render 'shared/publisher', :aspect => aspect, :aspect_ids => aspect_ids
#main_stream.stream{:data => {:guids => aspect_ids.join(',')}}
- if current_user.contacts.size < 2
= render 'aspects/no_posts_message'
- if current_user.contacts.size < 2
= render 'aspects/no_posts_message'
#main_stream.stream{:data => {:guids => aspect_ids.join(',')}}
- if posts.length > 0
= render 'shared/stream', :posts => posts
#pagination