Initial fix for #1446

This commit is contained in:
Type-kun
2013-04-27 14:24:18 +06:00
parent 3f3a7051c5
commit 4e1df5d987

View File

@@ -126,7 +126,7 @@ private
end
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>}
html << %{<span class="post-count#{is_underused_tag ? " low-post-count" : ""}"#{is_underused_tag ? " title='This tag has low post count. Check if it is a typo or consider tagging more post with it.'" : ""}>#{post_count}</span>}
end
html << "</li>"