add none message to aspect#index

This commit is contained in:
danielvincent 2010-10-14 15:23:15 -07:00
parent cf2a4c25ae
commit 8daf2d0fd5
2 changed files with 7 additions and 0 deletions

View file

@ -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

View file

@ -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 ⇧