Split subtasks/relations information into 5 columns (#32889).

Patch by Marius BALTEANU.

git-svn-id: http://svn.redmine.org/redmine/trunk@19659 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2020-04-05 09:52:51 +00:00
parent f47ed1a5e2
commit dd71338ff1
2 changed files with 3 additions and 3 deletions

View File

@@ -126,9 +126,9 @@ module IssuesHelper
:project => (issue.project_id != child.project_id)), :project => (issue.project_id != child.project_id)),
:class => 'subject') + :class => 'subject') +
content_tag('td', h(child.status), :class => 'status') + content_tag('td', h(child.status), :class => 'status') +
content_tag('td', link_to_user(child.assigned_to), :class => 'assigned_to') +
content_tag('td', format_date(child.start_date), :class => 'start_date') + content_tag('td', format_date(child.start_date), :class => 'start_date') +
content_tag('td', format_date(child.due_date), :class => 'due_date') + content_tag('td', format_date(child.due_date), :class => 'due_date') +
content_tag('td', link_to_user(child.assigned_to), :class => 'assigned_to') +
content_tag('td', content_tag('td',
(if child.disabled_core_fields.include?('done_ratio') (if child.disabled_core_fields.include?('done_ratio')
'' ''
@@ -181,9 +181,9 @@ module IssuesHelper
}.html_safe, }.html_safe,
:class => 'subject') + :class => 'subject') +
content_tag('td', other_issue.status, :class => 'status') + content_tag('td', other_issue.status, :class => 'status') +
content_tag('td', link_to_user(other_issue.assigned_to), :class => 'assigned_to') +
content_tag('td', format_date(other_issue.start_date), :class => 'start_date') + content_tag('td', format_date(other_issue.start_date), :class => 'start_date') +
content_tag('td', format_date(other_issue.due_date), :class => 'due_date') + content_tag('td', format_date(other_issue.due_date), :class => 'due_date') +
content_tag('td', link_to_user(other_issue.assigned_to), :class => 'assigned_to') +
content_tag('td', content_tag('td',
(if other_issue.disabled_core_fields.include?('done_ratio') (if other_issue.disabled_core_fields.include?('done_ratio')
'' ''

View File

@@ -803,7 +803,7 @@
} }
#issue_tree .issue > td:not(.subject), #relations .issue > td:not(.subject) { #issue_tree .issue > td:not(.subject), #relations .issue > td:not(.subject) {
width: 33.33%; /* three columns for all cells that are not subject */ width: 20%; /* three columns for all cells that are not subject */
} }
#issue_tree .issues, #issue_tree .issue, #issue_tree .issues, #issue_tree .issue,