Added new hook for the issues_helper.show_details

This commit is contained in:
Eric Davis committed 2008-07-23 17:30:27 -07:00
1 parent 355143ca18
commit fe22ef95a8
2 files changed
+5 -2

No files matched your search

+3 -1
View File
@@ -86,7 +86,9 @@ module IssuesHelper
when 'attachment'
label = l(:label_attachment)
end
Redmine::Plugin::Hook.call_hook(:issues_helper_show_details, {:detail => detail, :label => label, :value => value, :old_value => old_value })
label ||= detail.prop_key
value ||= detail.value
old_value ||= detail.old_value