From 0e17e84f6dbcf9ff301b27d4c6b6edcd79965cb5 Mon Sep 17 00:00:00 2001 From: Toshiyasu Nonohara Date: Thu, 23 May 2024 13:15:18 +0900 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E5=87=BA=E7=89=A9=E3=81=AE=E3=82=BF?= =?UTF-8?q?=E3=82=A4=E3=83=88=E3=83=AB=E8=A1=A8=E8=A8=98=E3=82=92=E5=86=8D?= =?UTF-8?q?=E5=BA=A6=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/models/concerns/commentable.rb | 2 +- app/views/companies/products/_product.html.slim | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/models/concerns/commentable.rb b/app/models/concerns/commentable.rb index 923469f2094..9f63a6cb519 100644 --- a/app/models/concerns/commentable.rb +++ b/app/models/concerns/commentable.rb @@ -13,7 +13,7 @@ module Commentable def title case self when Product - "#{practice[:title]}の提出物" + "「#{practice[:title]}」の提出物" else self[:title] end diff --git a/app/views/companies/products/_product.html.slim b/app/views/companies/products/_product.html.slim index 0b61d182ffa..e3246d70449 100644 --- a/app/views/companies/products/_product.html.slim +++ b/app/views/companies/products/_product.html.slim @@ -10,7 +10,7 @@ | WIP h2.card-list-item-title__title = link_to product, class: 'card-list-item-title__link a-text-link js-unconfirmed-link' do - = product.title.to_s + | #{product.practice.title}の提出物 .card-list-item__row .card-list-item-meta .card-list-item-meta__items