From 4ac6fdd3c7dc58ccd016b9755c825385d478d260 Mon Sep 17 00:00:00 2001 From: OdenTakashi Date: Wed, 15 Nov 2023 16:28:21 +0900 Subject: [PATCH 1/2] =?UTF-8?q?=E8=B3=9E=E5=93=81=E6=83=85=E5=A0=B1?= =?UTF-8?q?=E3=81=AE=E6=9C=AC=E6=96=87=E3=82=92=E5=A4=AA=E5=AD=97=E3=81=8B?= =?UTF-8?q?=E3=82=89=E3=83=87=E3=83=95=E3=82=A9=E3=83=AB=E3=83=88=E3=81=AB?= =?UTF-8?q?=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/lotteries/_lottery.html.slim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/lotteries/_lottery.html.slim b/app/views/lotteries/_lottery.html.slim index f56ab0b..442cb28 100644 --- a/app/views/lotteries/_lottery.html.slim +++ b/app/views/lotteries/_lottery.html.slim @@ -34,12 +34,12 @@ .mt-3 label.text-sm.border-b.border-dashed.border-gray-500 = Prize.human_attribute_name(:winning_email_subject) - .font-semibold.mt-1 + .mt-1 = prize.winning_email_subject .mt-3 label.text-sm.border-b.border-dashed.border-gray-500 = Prize.human_attribute_name(:winning_email_body) - .font-semibold.mt-1.break-all + .mt-1.break-all = simple_format(h(prize.winning_email_body)) - if lottery_executed?(lottery) && closed?(lottery) From 5a54a3decccdc922deb9ee544e570869c9d7d59e Mon Sep 17 00:00:00 2001 From: OdenTakashi Date: Wed, 15 Nov 2023 19:32:20 +0900 Subject: [PATCH 2/2] =?UTF-8?q?=E4=BB=B6=E5=90=8D=E3=81=AE=E4=B8=8B?= =?UTF-8?q?=E3=81=AB=E5=BC=95=E3=81=84=E3=81=A6=E3=81=84=E3=81=82=E3=82=8B?= =?UTF-8?q?border=E3=82=92=E5=8F=B3=E7=AB=AF=E3=81=BE=E3=81=A7=E4=BC=B8?= =?UTF-8?q?=E3=81=B0=E3=81=97=E3=81=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/lotteries/_lottery.html.slim | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/app/views/lotteries/_lottery.html.slim b/app/views/lotteries/_lottery.html.slim index 442cb28..c2d7e78 100644 --- a/app/views/lotteries/_lottery.html.slim +++ b/app/views/lotteries/_lottery.html.slim @@ -31,15 +31,17 @@ .mt-3 label.text-sm = "#{Prize.human_attribute_name(:winners_count)}(#{prize.winners_count})" - .mt-3 - label.text-sm.border-b.border-dashed.border-gray-500 + .mt-6 + label.text-sm = Prize.human_attribute_name(:winning_email_subject) - .mt-1 + p.border-b.border-dashed.border-gray-500.pt-1 + .mt-2 = prize.winning_email_subject - .mt-3 - label.text-sm.border-b.border-dashed.border-gray-500 + .mt-6 + label.text-sm = Prize.human_attribute_name(:winning_email_body) - .mt-1.break-all + .border-b.border-dashed.border-gray-500.pt-1 + .mt-2.break-all = simple_format(h(prize.winning_email_body)) - if lottery_executed?(lottery) && closed?(lottery) @@ -61,4 +63,4 @@ label.text-xs = Entry.human_attribute_name(:note) .break-all - = winner.note + = simple_format(h(winner.note))