From: Jean-Philippe Lang Date: Thu, 21 Jan 2016 04:56:09 +0000 (+0000) Subject: Fixed that % done field is shown on issue show subtree even if deactivated for that... X-Git-Tag: 3.3.0~294 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=d276231aca8187ca84288cafb80aaf4f16210792;p=redmine.git Fixed that % done field is shown on issue show subtree even if deactivated for that tracker (#20988). Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@15082 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/app/helpers/issues_helper.rb b/app/helpers/issues_helper.rb index 5fdc6bf8c..3adc45454 100644 --- a/app/helpers/issues_helper.rb +++ b/app/helpers/issues_helper.rb @@ -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 << ''