modqueue: highlight bad tags instead of entire post.
Change it so that when a post contains bad tags, the tags themselves are highlighted rather than the entire post. This also adds a data-tag-name attribute to tags in tag lists.
This commit is contained in:
@@ -107,7 +107,7 @@ class TagSetPresenter < Presenter
|
||||
count = tag.post_count
|
||||
category = tag.category
|
||||
|
||||
html = %{<li class="tag-type-#{tag.category}">}
|
||||
html = %{<li class="tag-type-#{tag.category}" data-tag-name="#{h(name)}">}
|
||||
|
||||
unless name_only
|
||||
if category == Tag.categories.artist
|
||||
|
||||
Reference in New Issue
Block a user