show unchanged rating/source in post version listing

This commit is contained in:
albert
2013-02-23 16:14:17 -05:00
parent 6927d07bc2
commit 403db4cc2f

View File

@@ -9,7 +9,7 @@ module PostVersionsHelper
html << '<del>' + link_to(tag, posts_path(:tags => tag)) + '</del>'
end
diff[:unchanged_tags].each do |tag|
html << '<span>' + link_to(tag, posts_path(:tags => tag)) + '</span>' unless tag =~ /^(?:rating|source):/
html << '<span>' + link_to(tag, posts_path(:tags => tag)) + '</span>'
end
return html.join(" ").html_safe
end