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
This commit is contained in:
Toshi MARUYAMA 2011-07-02 07:37:19 +00:00
parent 47ec67532b
commit ebdd9c6326
1 changed files with 3 additions and 2 deletions

View File

@ -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)