##// END OF EJS Templates
issue subjects modified on gantt pdf export...
Jean-Philippe Lang -
r55:9b2bd72e1f65
parent child
Show More
@@ -108,7 +108,7 pdf.SetFont('Arial','B',7)
108 @issues.each do |i|
108 @issues.each do |i|
109 pdf.SetY(top)
109 pdf.SetY(top)
110 pdf.SetX(15)
110 pdf.SetX(15)
111 pdf.Cell(subject_width-15, 5, i.id.to_s + " " + i.subject.sub(/^(.{30}[^\s]*\s).*$/, '\1 (...)'), "LR")
111 pdf.Cell(subject_width-15, 5, "#{i.tracker.name} #{i.id}: #{i.subject}".sub(/^(.{30}[^\s]*\s).*$/, '\1 (...)'), "LR")
112
112
113 pdf.SetY(top)
113 pdf.SetY(top)
114 pdf.SetX(subject_width)
114 pdf.SetX(subject_width)
General Comments 0
You need to be logged in to leave comments. Login now