lib/forge/app/views/forge/posts/_post.html.haml in forge-cli-0.0.18 vs lib/forge/app/views/forge/posts/_post.html.haml in forge-cli-0.1.0

- old
+ new

@@ -2,16 +2,19 @@ .item-title.post{:class => row_class(post)} %strong= link_to post.title, edit_forge_post_path(post) = "(Draft)" unless post.published? %br/ - %small Posted in #{post.post_categories.map(&:title).to_sentence} + - if post.post_categories.empty? + %small Uncategorized + - else + %small Posted in #{post.post_categories.map(&:title).to_sentence} .item-actions .item-info{:style => "width: 137px;"} %strong= post.created_at.strftime('%B %e, %Y') %br/ %small= post.created_at.strftime('%l:%M %p') = action_link("View on Site", post_path(post), :icon => "laptop") = edit_link(post) = delete_link(post) - .spacer \ No newline at end of file + .spacer