From b9bc8651d60b9178637483553045e267a28bf482 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Sat, 9 Nov 2019 02:20:44 +0000 Subject: 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 --- lib/redmine/export/pdf/issues_pdf_helper.rb | 31 +++++++++++++++++------------ 1 file changed, 18 insertions(+), 13 deletions(-) (limited to 'lib') 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 -- cgit v1.2.3