show unchanged rating/source in post version listing
This commit is contained in:
@@ -9,7 +9,7 @@ module PostVersionsHelper
|
|||||||
html << '<del>' + link_to(tag, posts_path(:tags => tag)) + '</del>'
|
html << '<del>' + link_to(tag, posts_path(:tags => tag)) + '</del>'
|
||||||
end
|
end
|
||||||
diff[:unchanged_tags].each do |tag|
|
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
|
end
|
||||||
return html.join(" ").html_safe
|
return html.join(" ").html_safe
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user