only 1 post count tags are marked

This commit is contained in:
Toks
2013-03-30 21:41:14 -04:00
parent 0f8cef588e
commit 22ccc403df

View File

@@ -125,7 +125,7 @@ private
post_count = counts[tag].to_s
end
is_underused_tag = counts[tag].to_i <= 10 && categories[tag] == Tag.categories.general
is_underused_tag = counts[tag].to_i <= 1 && categories[tag] == Tag.categories.general
html << %{<span class="post-count#{is_underused_tag ? " low-post-count" : ""}">#{post_count}</span>}
end