@@ -285,8 +285,18 module Redmine | |||
|
285 | 285 | pdf.footer_date = format_date(Date.today) |
|
286 | 286 | pdf.AddPage |
|
287 | 287 | pdf.SetFontStyle('B',11) |
|
288 | pdf.RDMMultiCell(190,5, | |
|
289 | "#{issue.project} - #{issue.tracker} # #{issue.id}: #{issue.subject}") | |
|
288 | buf = "#{issue.project} - #{issue.tracker} # #{issue.id}" | |
|
289 | pdf.RDMMultiCell(190, 5, buf) | |
|
290 | pdf.Ln | |
|
291 | pdf.SetFontStyle('',8) | |
|
292 | base_x = pdf.GetX | |
|
293 | i = 1 | |
|
294 | issue.ancestors.each do |ancestor| | |
|
295 | pdf.SetX(base_x + i) | |
|
296 | buf = "#{ancestor.tracker} # #{ancestor.id} (#{ancestor.status.to_s}): #{ancestor.subject}" | |
|
297 | pdf.RDMMultiCell(190 - i, 5, buf) | |
|
298 | i += 1 if i < 35 | |
|
299 | end | |
|
290 | 300 | pdf.Ln |
|
291 | 301 | |
|
292 | 302 | pdf.SetFontStyle('B',9) |
General Comments 0
You need to be logged in to leave comments.
Login now