diff options
author | Go MAEDA <maeda@farend.jp> | 2024-09-24 01:32:18 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2024-09-24 01:32:18 +0000 |
commit | b24aad42f7762c9349727f4cc413a5cf1698248a (patch) | |
tree | aa3e4a5a97f231d5c0298e38e6346f57114c7a15 /lib/redmine | |
parent | ba9137a15e78af4a9871fca34a454544db60d95d (diff) | |
download | redmine-b24aad42f7762c9349727f4cc413a5cf1698248a.tar.gz redmine-b24aad42f7762c9349727f4cc413a5cf1698248a.zip |
Merged r23068 from trunk to 5.1-stable (#41263).
git-svn-id: https://svn.redmine.org/redmine/branches/5.1-stable@23072 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib/redmine')
-rw-r--r-- | lib/redmine/helpers/gantt.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/redmine/helpers/gantt.rb b/lib/redmine/helpers/gantt.rb index 48cd93537..b31486d5d 100644 --- a/lib/redmine/helpers/gantt.rb +++ b/lib/redmine/helpers/gantt.rb @@ -723,7 +723,7 @@ module Redmine progress_date = calc_progress_date(issue.start_date, issue.due_before, issue.done_ratio) css_classes << ' behind-start-date' if progress_date < self.date_from - css_classes << ' over-end-date' if progress_date > self.date_to + css_classes << ' over-end-date' if progress_date > self.date_to && issue.done_ratio > 0 end s = (+"").html_safe s << view.assignee_avatar(issue.assigned_to, :size => 13, :class => 'icon-gravatar') @@ -743,7 +743,7 @@ module Redmine progress_date = calc_progress_date(version.start_date, version.due_date, version.visible_fixed_issues.completed_percent) html_class << ' behind-start-date' if progress_date < self.date_from - html_class << ' over-end-date' if progress_date > self.date_to + html_class << ' over-end-date' if progress_date > self.date_to && version.visible_fixed_issues.completed_percent > 0 end s = view.link_to_version(version).html_safe view.content_tag(:span, s, :class => html_class).html_safe |