diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-07-02 07:37:19 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-07-02 07:37:19 +0000 |
commit | ebdd9c6326d73df208e77c44e4a9d7871c86f71d (patch) | |
tree | b587d813fbbfafa0a5ba759332e92a35e987dea1 /lib/redmine/export | |
parent | 47ec67532bcbea82c662a299f676dc529e1b9ab2 (diff) | |
download | redmine-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.rb | 5 |
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) |