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:
commit
a0cdf6869c
1 changed files with 3 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue