@@ -507,7 +507,7 module Redmine | |||||
507 | pdf.SetFontStyle('',8) |
|
507 | pdf.SetFontStyle('',8) | |
508 | base_x = pdf.GetX |
|
508 | base_x = pdf.GetX | |
509 | i = 1 |
|
509 | i = 1 | |
510 | issue.ancestors.each do |ancestor| |
|
510 | issue.ancestors.visible.each do |ancestor| | |
511 | pdf.SetX(base_x + i) |
|
511 | pdf.SetX(base_x + i) | |
512 | buf = "#{ancestor.tracker} # #{ancestor.id} (#{ancestor.status.to_s}): #{ancestor.subject}" |
|
512 | buf = "#{ancestor.tracker} # #{ancestor.id} (#{ancestor.status.to_s}): #{ancestor.subject}" | |
513 | pdf.RDMMultiCell(190 - i, 5, buf) |
|
513 | pdf.RDMMultiCell(190 - i, 5, buf) | |
@@ -578,7 +578,7 module Redmine | |||||
578 | pdf.SetFontStyle('B',9) |
|
578 | pdf.SetFontStyle('B',9) | |
579 | pdf.RDMCell(35+155,5, l(:label_subtask_plural) + ":", "LTR") |
|
579 | pdf.RDMCell(35+155,5, l(:label_subtask_plural) + ":", "LTR") | |
580 | pdf.Ln |
|
580 | pdf.Ln | |
581 | issue_list(issue.descendants.sort_by(&:lft)) do |child, level| |
|
581 | issue_list(issue.descendants.visible.sort_by(&:lft)) do |child, level| | |
582 | buf = truncate("#{child.tracker} # #{child.id}: #{child.subject}", |
|
582 | buf = truncate("#{child.tracker} # #{child.id}: #{child.subject}", | |
583 | :length => truncate_length) |
|
583 | :length => truncate_length) | |
584 | level = 10 if level >= 10 |
|
584 | level = 10 if level >= 10 |
General Comments 0
You need to be logged in to leave comments.
Login now