summaryrefslogtreecommitdiffstats
path: root/lib/redmine/export
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-07-02 07:37:19 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-07-02 07:37:19 +0000
commitebdd9c6326d73df208e77c44e4a9d7871c86f71d (patch)
treeb587d813fbbfafa0a5ba759332e92a35e987dea1 /lib/redmine/export
parent47ec67532bcbea82c662a299f676dc529e1b9ab2 (diff)
downloadredmine-ebdd9c6326d73df208e77c44e4a9d7871c86f71d.tar.gz
redmine-ebdd9c6326d73df208e77c44e4a9d7871c86f71d.zip
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
Diffstat (limited to 'lib/redmine/export')
-rw-r--r--lib/redmine/export/pdf.rb5
1 files 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)