1
0
mirror of https://github.com/meineerde/redmine.git synced 2026-01-07 16:11:30 +00:00

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
This commit is contained in:
Jean-Philippe Lang 2016-01-21 04:56:09 +00:00
parent 2a6637ed2e
commit d276231aca

View 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>'