From ebdd9c6326d73df208e77c44e4a9d7871c86f71d Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Sat, 2 Jul 2011 07:37:19 +0000 Subject: [PATCH] PDF: add revision number/id of associated revisions on issue PDF (#8738). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6146 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- lib/redmine/export/pdf.rb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/redmine/export/pdf.rb b/lib/redmine/export/pdf.rb index 2c446e38e..d61cb3d4c 100644 --- a/lib/redmine/export/pdf.rb +++ b/lib/redmine/export/pdf.rb @@ -356,8 +356,9 @@ module Redmine pdf.Ln for changeset in issue.changesets pdf.SetFontStyle('B',8) - pdf.RDMCell(190,5, - format_time(changeset.committed_on) + " - " + changeset.author.to_s) + csstr = "#{l(:label_revision)} #{changeset.format_identifier} - " + csstr += format_time(changeset.committed_on) + " - " + changeset.author.to_s + pdf.RDMCell(190, 5, csstr) pdf.Ln unless changeset.comments.blank? pdf.SetFontStyle('',8) -- 2.39.5