]> source.dussan.org Git - redmine.git/commitdiff
Merged r15082 (#20988).
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 12 Mar 2016 10:02:37 +0000 (10:02 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 12 Mar 2016 10:02:37 +0000 (10:02 +0000)
git-svn-id: http://svn.redmine.org/redmine/branches/3.2-stable@15206 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/helpers/issues_helper.rb

index 497bea380c20917b68c0db02dd1572576fd0c3bc..1300706dc2e2d787a60ff2739059969f43788fcd 100644 (file)
@@ -114,7 +114,7 @@ module IssuesHelper
              content_tag('td', link_to_issue(child, :project => (issue.project_id != child.project_id)), :class => 'subject', :style => 'width: 50%') +
              content_tag('td', h(child.status)) +
              content_tag('td', link_to_user(child.assigned_to)) +
-             content_tag('td', progress_bar(child.done_ratio)),
+             content_tag('td', child.disabled_core_fields.include?('done_ratio') ? '' : progress_bar(child.done_ratio)),
              :class => css)
     end
     s << '</table></form>'