issue_mailer_helper.diff

Marius BALTEANU, 2018-10-28 20:38

Download (666 Bytes)

View differences:

app/helpers/issues_helper.rb (working copy)
319 319

  
320 320
  def email_issue_attributes(issue, user, html)
321 321
    items = []
322
    %w(author status priority assigned_to category fixed_version).each do |attribute|
322
    %w(author status priority assigned_to category fixed_version start_date due_date).each do |attribute|
323 323
      unless issue.disabled_core_fields.include?(attribute+"_id")
324 324
        if html
325 325
          items << content_tag('strong', "#{l("field_#{attribute}")}: ") + (issue.send attribute)