forked from e621ng/e621ng
fix up title and bring back post status
This commit is contained in:
parent
c5edb7fa41
commit
1030efab9d
@ -57,8 +57,8 @@ class PostsDecorator < ApplicationDecorator
|
|||||||
favs = template.tag.span("♥#{post.fav_count}", class: "favorites")
|
favs = template.tag.span("♥#{post.fav_count}", class: "favorites")
|
||||||
comments = template.tag.span "C#{post.visible_comment_count(CurrentUser)}", class: "comments"
|
comments = template.tag.span "C#{post.visible_comment_count(CurrentUser)}", class: "comments"
|
||||||
rating = template.tag.span(post.rating.upcase, class: "rating")
|
rating = template.tag.span(post.rating.upcase, class: "rating")
|
||||||
# status = template.tag.span(status_flags.join, class: "extras")
|
status = template.tag.span(status_flags.join, class: "extras")
|
||||||
template.tag.div score + favs + comments + rating, class: "desc"
|
template.tag.div title + score + favs + comments + rating + status, class: "desc"
|
||||||
end
|
end
|
||||||
|
|
||||||
def preview_html(t, options = {})
|
def preview_html(t, options = {})
|
||||||
|
Loading…
Reference in New Issue
Block a user