Project

General

Profile

Defect #41263 » 41263-v2.patch

Go MAEDA, 2024-09-20 05:24

View differences:

lib/redmine/helpers/gantt.rb
723 723
            progress_date = calc_progress_date(issue.start_date,
724 724
                                               issue.due_before, issue.done_ratio)
725 725
            css_classes << ' behind-start-date' if progress_date < self.date_from
726
            css_classes << ' over-end-date' if progress_date > self.date_to
726
            css_classes << ' over-end-date' if progress_date > self.date_to && issue.done_ratio > 0
727 727
          end
728 728
          s = (+"").html_safe
729 729
          s << view.sprite_icon('issue').html_safe
......
744 744
            progress_date = calc_progress_date(version.start_date,
745 745
                                               version.due_date, version.visible_fixed_issues.completed_percent)
746 746
            html_class << ' behind-start-date' if progress_date < self.date_from
747
            html_class << ' over-end-date' if progress_date > self.date_to
747
            html_class << ' over-end-date' if progress_date > self.date_to && version.visible_fixed_issues.completed_percent > 0
748 748
          end
749 749
          s = (+"").html_safe
750 750
          s << view.sprite_icon('package').html_safe
(7-7/7)