From: Jean-Philippe Lang Date: Thu, 29 Nov 2018 15:51:16 +0000 (+0000) Subject: Related issues section ignores the date format setting (#29918). X-Git-Tag: 4.0.0~44 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=c30a8a44aab51f94358cfe893055221a35c817b8;p=redmine.git Related issues section ignores the date format setting (#29918). Patch by Mizuki ISHIKAWA. git-svn-id: http://svn.redmine.org/redmine/trunk@17656 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/app/helpers/issues_helper.rb b/app/helpers/issues_helper.rb index 654f18e01..aee8444f5 100644 --- a/app/helpers/issues_helper.rb +++ b/app/helpers/issues_helper.rb @@ -129,8 +129,8 @@ module IssuesHelper content_tag('td', check_box_tag("ids[]", other_issue.id, false, :id => nil), :class => 'checkbox') + content_tag('td', relation.to_s(@issue) {|other| link_to_issue(other, :project => Setting.cross_project_issue_relations?)}.html_safe, :class => 'subject', :style => 'width: 50%') + content_tag('td', other_issue.status, :class => 'status') + - content_tag('td', other_issue.start_date, :class => 'start_date') + - content_tag('td', other_issue.due_date, :class => 'due_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', other_issue.disabled_core_fields.include?('done_ratio') ? '' : progress_bar(other_issue.done_ratio), :class=> 'done_ratio') + content_tag('td', buttons, :class => 'buttons'), :id => "relation-#{relation.id}",