Project

General

Profile

Feature #38951 » Add_project_fields_to_issue_helper_detail_to_str.patch

salman mp, 2023-08-19 23:15

View differences:

app/helpers/issues_helper.rb (revision 41653:c704208ed465fcb5f84cbfa7b6d4050e229d081b) → app/helpers/issues_helper.rb (revision 41653+:c704208ed465+)
539 539
        value = "##{detail.value}" unless detail.value.blank?
540 540
        old_value = "##{detail.old_value}" unless detail.old_value.blank?
541 541

  
542
      when 'is_private'
542
      when 'is_private', 'is_public', 'inherit_members'
543 543
        value = l(detail.value == "0" ? :general_text_No : :general_text_Yes) unless detail.value.blank?
544 544
        old_value = l(detail.old_value == "0" ? :general_text_No : :general_text_Yes) unless detail.old_value.blank?
545

  
546 545
      when 'description'
547 546
        show_diff = true
548 547
      end
(2-2/2)