summaryrefslogtreecommitdiffstats
path: root/app/helpers/issues_helper.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2016-11-19 10:04:58 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2016-11-19 10:04:58 +0000
commit33d78d605d0b6582512b5bca24c087730635e928 (patch)
tree4e0285664ac32c573356d9a5d10e29c402c4691b /app/helpers/issues_helper.rb
parent17233e868110d153cfcf5e8947fad6715ccfada2 (diff)
downloadredmine-33d78d605d0b6582512b5bca24c087730635e928.tar.gz
redmine-33d78d605d0b6582512b5bca24c087730635e928.zip
View progress bar of related issues (#3425).
git-svn-id: http://svn.redmine.org/redmine/trunk@15982 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/helpers/issues_helper.rb')
-rw-r--r--app/helpers/issues_helper.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/helpers/issues_helper.rb b/app/helpers/issues_helper.rb
index eaa42f9de..15b4587d7 100644
--- a/app/helpers/issues_helper.rb
+++ b/app/helpers/issues_helper.rb
@@ -129,6 +129,7 @@ module IssuesHelper
content_tag('td', other_issue.status, :class => 'status') +
content_tag('td', other_issue.start_date, :class => 'start_date') +
content_tag('td', other_issue.due_date, :class => 'due_date') +
+ content_tag('td', other_issue.disabled_core_fields.include?('done_ratio') ? '' : progress_bar(other_issue.done_ratio), :class=> 'done_ratio') +
content_tag('td', link, :class => 'buttons'),
:id => "relation-#{relation.id}",
:class => css)