##// END OF EJS Templates
Display project names for versions too on PDF (#5904)....
Jean-Philippe Lang -
r3770:bdad35a73614
parent child
Show More
@@ -415,13 +415,14 module Redmine
415 415 pdf.SetY(top)
416 416 pdf.SetX(15)
417 417
418 text = ""
418 419 if i.is_a? Issue
419 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 421 else
423 pdf.Cell(subject_width-15, 5, "#{l(:label_version)}: #{i.name}", "LR")
422 text = i.name
424 423 end
424 text = "#{i.project} - #{text}" unless project && project == i.project
425 pdf.Cell(subject_width-15, 5, text, "LR")
425 426
426 427 pdf.SetY(top + 0.2)
427 428 pdf.SetX(subject_width)
General Comments 0
You need to be logged in to leave comments. Login now