diff --git a/app/presenters/tag_set_presenter.rb b/app/presenters/tag_set_presenter.rb index 2675e8488..c20bd5c05 100644 --- a/app/presenters/tag_set_presenter.rb +++ b/app/presenters/tag_set_presenter.rb @@ -126,7 +126,10 @@ private end is_underused_tag = counts[tag].to_i <= 1 && categories[tag] == Tag.categories.general - html << %{#{post_count}} + klass = "post-count#{is_underused_tag ? " low-post-count" : ""}" + title = "This tag has a low post count. Check if it is a typo or consider tagging more posts with it." + + html << %{#{post_count}} end html << ""