Move no_posts_message rendering above the stream, so that it doesn't get pushed down by new posts.
This commit is contained in:
parent
6a56e3298c
commit
2134fd2bc0
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