Commit 9b2bd72e authored by Jean-Philippe Lang's avatar Jean-Philippe Lang

issue subjects modified on gantt pdf export

git-svn-id: http://redmine.rubyforge.org/svn/trunk@57 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 70736016
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment