diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2006-11-29 20:06:44 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2006-11-29 20:06:44 +0000 |
commit | 9b2bd72e1f65c6fa7d9bd013a40821b3cc201aca (patch) | |
tree | 66261857a358004c4d22a054896b65df891d611c | |
parent | 707360169ed128a4568a00188464b7040e86a150 (diff) | |
download | redmine-9b2bd72e1f65c6fa7d9bd013a40821b3cc201aca.tar.gz redmine-9b2bd72e1f65c6fa7d9bd013a40821b3cc201aca.zip |
issue subjects modified on gantt pdf export
git-svn-id: http://redmine.rubyforge.org/svn/trunk@57 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r-- | redmine/app/views/projects/gantt.rfpdf | 2 |
1 files changed, 1 insertions, 1 deletions
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)
|