##// END OF EJS Templates
pdf: add note number for single issue's PDF (#9720)...
Toshi MARUYAMA -
r7970:3f79a914d94a
parent child
Show More
@@ -452,12 +452,15 module Redmine
452 452 pdf.SetFontStyle('B',9)
453 453 pdf.RDMCell(190,5, l(:label_history), "B")
454 454 pdf.Ln
455 indice = 0
455 456 for journal in issue.journals.find(
456 457 :all, :include => [:user, :details],
457 458 :order => "#{Journal.table_name}.created_on ASC")
459 indice = indice + 1
458 460 pdf.SetFontStyle('B',8)
459 461 pdf.RDMCell(190,5,
460 format_time(journal.created_on) + " - " + journal.user.name)
462 format_time(journal.created_on) + " - " +
463 journal.user.name + " #" + indice.to_s )
461 464 pdf.Ln
462 465 pdf.SetFontStyle('I',8)
463 466 for detail in journal.details
General Comments 0
You need to be logged in to leave comments. Login now