@@ -415,13 +415,14 module Redmine | |||||
415 | pdf.SetY(top) |
|
415 | pdf.SetY(top) | |
416 | pdf.SetX(15) |
|
416 | pdf.SetX(15) | |
417 |
|
417 | |||
|
418 | text = "" | |||
418 | if i.is_a? Issue |
|
419 | if i.is_a? Issue | |
419 | text = "#{i.tracker} #{i.id}: #{i.subject}" |
|
420 | text = "#{i.tracker} #{i.id}: #{i.subject}" | |
420 | text = "#{i.project} - #{text}" unless project && project == i.project |
|
|||
421 | pdf.Cell(subject_width-15, 5, text, "LR") |
|
|||
422 | else |
|
421 | else | |
423 | pdf.Cell(subject_width-15, 5, "#{l(:label_version)}: #{i.name}", "LR") |
|
422 | text = i.name | |
424 | end |
|
423 | end | |
|
424 | text = "#{i.project} - #{text}" unless project && project == i.project | |||
|
425 | pdf.Cell(subject_width-15, 5, text, "LR") | |||
425 |
|
426 | |||
426 | pdf.SetY(top + 0.2) |
|
427 | pdf.SetY(top + 0.2) | |
427 | pdf.SetX(subject_width) |
|
428 | pdf.SetX(subject_width) |
General Comments 0
You need to be logged in to leave comments.
Login now