From 974077363d611035c59843b223696bfc322e0e89 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Mon, 30 Nov 2020 15:49:29 +0000 Subject: [PATCH] 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 --- lib/redmine/export/pdf/issues_pdf_helper.rb | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) 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 -- 2.39.5