Project

General

Profile

Feature #29254 ยป issue_mailer_helper.diff

Senya Senya, 2018-07-20 21:23

View differences:

app/helpers/issues_helper.rb (working copy)
def email_issue_attributes(issue, user, html)
items = []
%w(author status priority assigned_to category fixed_version).each do |attribute|
%w(author status priority assigned_to category fixed_version start_date due_date).each do |attribute|
unless issue.disabled_core_fields.include?(attribute+"_id")
if html
items << content_tag('strong', "#{l("field_#{attribute}")}: ") + (issue.send attribute)
    (1-1/1)