From: Toshi MARUYAMA Date: Mon, 30 Nov 2020 15:49:29 +0000 (+0000) Subject: shorten long line of lib/redmine/export/pdf/issues_pdf_helper.rb X-Git-Tag: 4.2.0~289 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=974077363d611035c59843b223696bfc322e0e89;p=redmine.git shorten long line of lib/redmine/export/pdf/issues_pdf_helper.rb git-svn-id: http://svn.redmine.org/redmine/trunk@20529 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/lib/redmine/export/pdf/issues_pdf_helper.rb b/lib/redmine/export/pdf/issues_pdf_helper.rb index d45422b7d..66f2d91bf 100644 --- a/lib/redmine/export/pdf/issues_pdf_helper.rb +++ b/lib/redmine/export/pdf/issues_pdf_helper.rb @@ -99,15 +99,19 @@ module Redmine item = left[i] pdf.SetFontStyle('B',9) - pdf.RDMMultiCell(35, height, item ? "#{item.first}:" : "", (i == 0 ? border_first_top : border_first), '', 0, 0) + pdf.RDMMultiCell(35, height, item ? "#{item.first}:" : "", + (i == 0 ? border_first_top : border_first), '', 0, 0) pdf.SetFontStyle('',9) - pdf.RDMMultiCell(60, height, item ? item.last.to_s : "", (i == 0 ? border_last_top : border_last), '', 0, 0) + pdf.RDMMultiCell(60, height, item ? item.last.to_s : "", + (i == 0 ? border_last_top : border_last), '', 0, 0) item = right[i] pdf.SetFontStyle('B',9) - pdf.RDMMultiCell(35, height, item ? "#{item.first}:" : "", (i == 0 ? border_first_top : border_first), '', 0, 0) + pdf.RDMMultiCell(35, height, item ? "#{item.first}:" : "", + (i == 0 ? border_first_top : border_first), '', 0, 0) pdf.SetFontStyle('',9) - pdf.RDMMultiCell(60, height, item ? item.last.to_s : "", (i == 0 ? border_last_top : border_last), '', 0, 2) + pdf.RDMMultiCell(60, height, item ? item.last.to_s : "", + (i == 0 ? border_last_top : border_last), '', 0, 2) pdf.set_x(base_x) end