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