issue subjects modified on gantt pdf export
git-svn-id: http://redmine.rubyforge.org/svn/trunk@57 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
707360169e
commit
9b2bd72e1f
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue