]> source.dussan.org Git - redmine.git/commitdiff
Add status, assigned_to and done_ratio classes to issue subtasks (#21776).
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Tue, 15 Mar 2016 22:16:25 +0000 (22:16 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Tue, 15 Mar 2016 22:16:25 +0000 (22:16 +0000)
Patch by Marius Balteanu.

git-svn-id: http://svn.redmine.org/redmine/trunk@15251 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/helpers/issues_helper.rb

index c2639a4109e6c43d385de18539fa1aa924765ce5..68b98e6c2ceed4ae29c54e470eb6b5008d6eadef 100644 (file)
@@ -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>'