Merged r6146 from trunk.

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
This commit is contained in:
Toshi MARUYAMA 2011-07-02 13:15:54 +00:00
parent d15912eb6a
commit 3de4afe53a
1 changed files with 3 additions and 2 deletions

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