]> source.dussan.org Git - redmine.git/commitdiff
Merged r6146 from trunk.
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sat, 2 Jul 2011 13:15:54 +0000 (13:15 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sat, 2 Jul 2011 13:15:54 +0000 (13:15 +0000)
PDF: add revision number/id of associated revisions on issue PDF.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/1.2-stable@6153 e93f8b46-1217-0410-a6f0-8f06a7374b81

lib/redmine/export/pdf.rb

index ae07cab3c2de8f488223ae570b66e14a14c35375..ea1c6128aaf221effd23add637d73552d9daeccc 100644 (file)
@@ -350,8 +350,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)