From 2f042c8d3772049aa6bbee0e507bcf2124d74664 Mon Sep 17 00:00:00 2001 From: Marius BALTEANU Date: Sun, 9 Feb 2020 17:30:20 +0200 Subject: [PATCH] Split on 5 columns --- app/helpers/issues_helper.rb | 4 ++-- public/stylesheets/responsive.css | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/helpers/issues_helper.rb b/app/helpers/issues_helper.rb index 76200101c..c02067c69 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, -- 2.22.0