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:
evazion
2020-03-03 03:16:53 -06:00
parent b0e2ffbe7d
commit 85f1674618
5 changed files with 11 additions and 24 deletions

View File

@@ -2,5 +2,4 @@
As a general rule, you should only approve of posts that you personally like. Posts that are not approved in three days will be automatically deleted.
</p>
<p>Posts with the <%= link_to_wikis(*Danbooru.config.modqueue_quality_warning_tags) %> tags are marked in yellow.</p>
<p>Posts with the <%= link_to_wikis(*Danbooru.config.modqueue_sample_warning_tags) %> tags are marked in light red.</p>
<p>The <%= link_to_wikis(*Danbooru.config.modqueue_warning_tags) %> tags are highlighted in red.</p>