From 9b2bd72e1f65c6fa7d9bd013a40821b3cc201aca Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Wed, 29 Nov 2006 20:06:44 +0000 Subject: [PATCH] issue subjects modified on gantt pdf export git-svn-id: http://redmine.rubyforge.org/svn/trunk@57 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- redmine/app/views/projects/gantt.rfpdf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/redmine/app/views/projects/gantt.rfpdf b/redmine/app/views/projects/gantt.rfpdf index cd412f5e9..545abb483 100644 --- a/redmine/app/views/projects/gantt.rfpdf +++ b/redmine/app/views/projects/gantt.rfpdf @@ -108,7 +108,7 @@ pdf.SetFont('Arial','B',7) @issues.each do |i| pdf.SetY(top) pdf.SetX(15) - pdf.Cell(subject_width-15, 5, i.id.to_s + " " + i.subject.sub(/^(.{30}[^\s]*\s).*$/, '\1 (...)'), "LR") + pdf.Cell(subject_width-15, 5, "#{i.tracker.name} #{i.id}: #{i.subject}".sub(/^(.{30}[^\s]*\s).*$/, '\1 (...)'), "LR") pdf.SetY(top) pdf.SetX(subject_width)