Feature #13307 » issue_mailer_helper-v2.diff
app/helpers/issues_helper.rb (working copy) | ||
---|---|---|
321 | 321 | |
322 | 322 |
def email_issue_attributes(issue, user, html) |
323 | 323 |
items = [] |
324 |
%w(author status priority assigned_to category fixed_version).each do |attribute| |
|
325 |
unless issue.disabled_core_fields.include?(attribute+"_id")
|
|
324 |
%w(author status priority assigned_to category fixed_version start_date due_date).each do |attribute|
|
|
325 |
unless issue.disabled_core_fields.grep(/^#{attribute}(_id)?$/)
|
|
326 | 326 |
if html |
327 | 327 |
items << content_tag('strong', "#{l("field_#{attribute}")}: ") + (issue.send attribute) |
328 | 328 |
else |