diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2019-11-09 02:20:44 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2019-11-09 02:20:44 +0000 |
commit | b9bc8651d60b9178637483553045e267a28bf482 (patch) | |
tree | 545fb062d8efff230507468a7a5b3076ecdac8f8 /lib | |
parent | 6b6549f2b220f8199d08ff82fd6a5beb0b6298c3 (diff) | |
download | redmine-b9bc8651d60b9178637483553045e267a28bf482.tar.gz redmine-b9bc8651d60b9178637483553045e267a28bf482.zip |
cleanup: rubocop: fix Layout/AlignArguments in lib/redmine/export/pdf/issues_pdf_helper.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18983 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib')
-rw-r--r-- | lib/redmine/export/pdf/issues_pdf_helper.rb | 31 |
1 files changed, 18 insertions, 13 deletions
diff --git a/lib/redmine/export/pdf/issues_pdf_helper.rb b/lib/redmine/export/pdf/issues_pdf_helper.rb index b23954e2e..15c0b43cc 100644 --- a/lib/redmine/export/pdf/issues_pdf_helper.rb +++ b/lib/redmine/export/pdf/issues_pdf_helper.rb @@ -118,12 +118,14 @@ module Redmine # Set resize image scale pdf.set_image_scale(1.6) - text = textilizable(issue, :description, - :only_path => false, - :edit_section_links => false, - :headings => false, - :inline_attachments => false - ) + text = + textilizable( + issue, :description, + :only_path => false, + :edit_section_links => false, + :headings => false, + :inline_attachments => false + ) pdf.RDMwriteFormattedCell(35+155, 5, '', '', text, issue.attachments, "LRB") custom_field_values = issue.visible_custom_field_values.select {|value| value.custom_field.full_width_layout?} @@ -195,7 +197,8 @@ module Redmine pdf.ln unless changeset.comments.blank? pdf.SetFontStyle('',8) - pdf.RDMwriteHTMLCell(190,5,'','', + pdf.RDMwriteHTMLCell( + 190,5,'','', changeset.comments.to_s, issue.attachments, "") end pdf.ln @@ -219,12 +222,14 @@ module Redmine if journal.notes? pdf.ln unless journal.details.empty? pdf.SetFontStyle('',8) - text = textilizable(journal, :notes, - :only_path => false, - :edit_section_links => false, - :headings => false, - :inline_attachments => false - ) + text = + textilizable( + journal, :notes, + :only_path => false, + :edit_section_links => false, + :headings => false, + :inline_attachments => false + ) pdf.RDMwriteFormattedCell(190,5,'','', text, issue.attachments, "") end pdf.ln |