@@ -282,8 +282,6 module Redmine | |||||
282 | "#{issue.project} - #{issue.tracker} # #{issue.id}: #{issue.subject}") |
|
282 | "#{issue.project} - #{issue.tracker} # #{issue.id}: #{issue.subject}") | |
283 | pdf.Ln |
|
283 | pdf.Ln | |
284 |
|
284 | |||
285 | y0 = pdf.GetY |
|
|||
286 |
|
||||
287 | pdf.SetFontStyle('B',9) |
|
285 | pdf.SetFontStyle('B',9) | |
288 | pdf.RDMCell(35,5, l(:field_status) + ":","LT") |
|
286 | pdf.RDMCell(35,5, l(:field_status) + ":","LT") | |
289 | pdf.SetFontStyle('',9) |
|
287 | pdf.SetFontStyle('',9) | |
@@ -331,18 +329,18 module Redmine | |||||
331 | pdf.RDMMultiCell(155,5, (show_value custom_value),"R") |
|
329 | pdf.RDMMultiCell(155,5, (show_value custom_value),"R") | |
332 | end |
|
330 | end | |
333 |
|
331 | |||
|
332 | y0 = pdf.GetY | |||
|
333 | ||||
334 | pdf.SetFontStyle('B',9) |
|
334 | pdf.SetFontStyle('B',9) | |
335 | pdf.RDMCell(35,5, l(:field_subject) + ":","LT") |
|
335 | pdf.RDMCell(35,5, l(:field_subject) + ":","LT") | |
336 | pdf.SetFontStyle('',9) |
|
336 | pdf.SetFontStyle('',9) | |
337 | pdf.RDMMultiCell(155,5, issue.subject,"RT") |
|
337 | pdf.RDMMultiCell(155,5, issue.subject,"RT") | |
|
338 | pdf.Line(pdf.GetX, y0, pdf.GetX, pdf.GetY) | |||
338 |
|
339 | |||
339 | pdf.SetFontStyle('B',9) |
|
340 | pdf.SetFontStyle('B',9) | |
340 |
pdf.RDMCell(35,5, l(:field_description) |
|
341 | pdf.RDMCell(35+155, 5, l(:field_description), "LRT", 1) | |
341 | pdf.SetFontStyle('',9) |
|
342 | pdf.SetFontStyle('',9) | |
342 |
pdf.RDMMultiCell(155,5, issue.description.to_s," |
|
343 | pdf.RDMMultiCell(35+155, 5, issue.description.to_s, "LRB") | |
343 |
|
||||
344 | pdf.Line(pdf.GetX, y0, pdf.GetX, pdf.GetY) |
|
|||
345 | pdf.Line(pdf.GetX, pdf.GetY, pdf.GetX + 190, pdf.GetY) |
|
|||
346 | pdf.Ln |
|
344 | pdf.Ln | |
347 |
|
345 | |||
348 | if issue.changesets.any? && |
|
346 | if issue.changesets.any? && |
General Comments 0
You need to be logged in to leave comments.
Login now