From: Jean-Philippe Lang Date: Sun, 5 Apr 2020 09:52:51 +0000 (+0000) Subject: Split subtasks/relations information into 5 columns (#32889). X-Git-Tag: 4.2.0~1102 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=dd71338ff1657b7429252d252effc5a32ed76c9a;p=redmine.git 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 --- diff --git a/app/helpers/issues_helper.rb b/app/helpers/issues_helper.rb index f897bc13e..f212f1a2a 100644 --- a/app/helpers/issues_helper.rb +++ b/app/helpers/issues_helper.rb @@ -126,9 +126,9 @@ module IssuesHelper :project => (issue.project_id != child.project_id)), :class => 'subject') + 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.due_date), :class => 'due_date') + - content_tag('td', link_to_user(child.assigned_to), :class => 'assigned_to') + content_tag('td', (if child.disabled_core_fields.include?('done_ratio') '' @@ -181,9 +181,9 @@ module IssuesHelper }.html_safe, :class => 'subject') + 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.due_date), :class => 'due_date') + - content_tag('td', link_to_user(other_issue.assigned_to), :class => 'assigned_to') + content_tag('td', (if other_issue.disabled_core_fields.include?('done_ratio') '' diff --git a/public/stylesheets/responsive.css b/public/stylesheets/responsive.css index 167961f44..6ac4299d6 100644 --- a/public/stylesheets/responsive.css +++ b/public/stylesheets/responsive.css @@ -803,7 +803,7 @@ } #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,