diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2016-03-15 22:16:25 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2016-03-15 22:16:25 +0000 |
commit | 64b3a1f1e8c7f16f85621019788ac0bc09bc3ccf (patch) | |
tree | ecc3b154a25ee6af0565e567096630d52dbd8b05 /app/helpers/issues_helper.rb | |
parent | 312d5ae0394720b6a0dd34601021a8653f998022 (diff) | |
download | redmine-64b3a1f1e8c7f16f85621019788ac0bc09bc3ccf.tar.gz redmine-64b3a1f1e8c7f16f85621019788ac0bc09bc3ccf.zip |
Add status, assigned_to and done_ratio classes to issue subtasks (#21776).
Patch by Marius Balteanu.
git-svn-id: http://svn.redmine.org/redmine/trunk@15251 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/helpers/issues_helper.rb')
-rw-r--r-- | app/helpers/issues_helper.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/helpers/issues_helper.rb b/app/helpers/issues_helper.rb index c2639a410..68b98e6c2 100644 --- a/app/helpers/issues_helper.rb +++ b/app/helpers/issues_helper.rb @@ -112,9 +112,9 @@ module IssuesHelper s << content_tag('tr', content_tag('td', check_box_tag("ids[]", child.id, false, :id => nil), :class => 'checkbox') + 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', child.disabled_core_fields.include?('done_ratio') ? '' : progress_bar(child.done_ratio)), + content_tag('td', h(child.status), :class => 'status') + + content_tag('td', link_to_user(child.assigned_to), :class => 'assigned_to') + + content_tag('td', child.disabled_core_fields.include?('done_ratio') ? '' : progress_bar(child.done_ratio), :class=> 'done_ratio'), :class => css) end s << '</table></form>' |