1
0
mirror of https://github.com/meineerde/redmine.git synced 2026-03-11 11:43:08 +00:00

Added new hook for the issues_helper.show_details

This commit is contained in:
Eric Davis 2008-06-04 18:21:42 -07:00
parent 355143ca18
commit fe22ef95a8
2 changed files with 5 additions and 2 deletions

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

View File

@ -137,7 +137,8 @@ module Redmine #:nodoc:
:issue_bulk_edit_save => [],
:issue_update => [],
:project_member_list_header => [],
:project_member_list_column_three => []
:project_member_list_column_three => [],
:issues_helper_show_details => []
}
cattr_reader :hooks