mirror of
https://github.com/meineerde/redmine.git
synced 2025-12-22 16:31:12 +00:00
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
This commit is contained in:
parent
312d5ae039
commit
64b3a1f1e8
@ -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>'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user