code clean up lib/redmine/export/pdf.rb.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5335 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2011-04-05 23:04:32 +00:00
parent 00277a2a0a
commit 91e4d7d298
1 changed files with 3 additions and 3 deletions

View File

@ -202,7 +202,7 @@ module Redmine
end end
# title # title
pdf.SetFontStyle('B',11) pdf.SetFontStyle('B',11)
pdf.RDMCell(190,10, title) pdf.RDMCell(190,10, title)
pdf.Ln pdf.Ln
@ -271,7 +271,7 @@ module Redmine
pdf.footer_date = format_date(Date.today) pdf.footer_date = format_date(Date.today)
pdf.AddPage pdf.AddPage
pdf.SetFontStyle('B',11) pdf.SetFontStyle('B',11)
pdf.RDMCell(190,10, pdf.RDMCell(190,10,
"#{issue.project} - #{issue.tracker} # #{issue.id}: #{issue.subject}") "#{issue.project} - #{issue.tracker} # #{issue.id}: #{issue.subject}")
pdf.Ln pdf.Ln
@ -285,7 +285,7 @@ module Redmine
pdf.SetFontStyle('B',9) pdf.SetFontStyle('B',9)
pdf.RDMCell(35,5, l(:field_priority) + ":","LT") pdf.RDMCell(35,5, l(:field_priority) + ":","LT")
pdf.SetFontStyle('',9) pdf.SetFontStyle('',9)
pdf.RDMCell(60,5, issue.priority.to_s,"RT") pdf.RDMCell(60,5, issue.priority.to_s,"RT")
pdf.Ln pdf.Ln
pdf.SetFontStyle('B',9) pdf.SetFontStyle('B',9)