Added new hook for the issues_helper.show_details
This commit is contained in:
1 parent
355143ca18
commit
fe22ef95a8
2 files changed
+5
-2
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user