add none message to aspect#index
This commit is contained in:
parent
cf2a4c25ae
commit
8daf2d0fd5
2 changed files with 7 additions and 0 deletions
|
|
@ -11,6 +11,12 @@
|
||||||
%ul#stream
|
%ul#stream
|
||||||
- for post in @posts
|
- for post in @posts
|
||||||
= render type_partial(post), :post => post unless post.class == Album
|
= render type_partial(post), :post => post unless post.class == Album
|
||||||
|
|
||||||
|
- if @posts.size == 0
|
||||||
|
#empty_message
|
||||||
|
.null_arrow ⇧
|
||||||
|
%h3 Nobody has said anything yet. Get the conversation started!
|
||||||
|
|
||||||
#pagination
|
#pagination
|
||||||
= will_paginate @posts
|
= will_paginate @posts
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -11,6 +11,7 @@
|
||||||
%ul#stream
|
%ul#stream
|
||||||
- for post in @posts
|
- for post in @posts
|
||||||
= render type_partial(post), :post => post unless post.class == Album
|
= render type_partial(post), :post => post unless post.class == Album
|
||||||
|
|
||||||
- if @posts.size == 0
|
- if @posts.size == 0
|
||||||
#empty_message
|
#empty_message
|
||||||
.null_arrow ⇧
|
.null_arrow ⇧
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue