From ad7731a25da807ef9ce3c8ecdf3b9949b4e2d740 Mon Sep 17 00:00:00 2001 From: unikounio Date: Wed, 24 Apr 2024 17:12:49 +0900 Subject: [PATCH] =?UTF-8?q?=E9=9D=9E=E3=83=A1=E3=83=B3=E3=82=BF=E3=83=BC?= =?UTF-8?q?=E3=81=AE=E7=AE=A1=E7=90=86=E8=80=85=E3=81=A7=E3=82=82=E6=8F=90?= =?UTF-8?q?=E5=87=BA=E7=89=A9=E8=A9=B3=E7=B4=B0=E3=83=9A=E3=83=BC=E3=82=B8?= =?UTF-8?q?=E3=81=AE=E7=A0=94=E4=BF=AE=E7=B5=82=E4=BA=86=E6=97=A5=E3=81=8C?= =?UTF-8?q?=E8=A1=A8=E7=A4=BA=E3=81=95=E3=82=8C=E3=82=8B=E3=82=88=E3=81=86?= =?UTF-8?q?=E3=81=AB=E3=81=97=E3=81=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/products/_product_header.html.slim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/products/_product_header.html.slim b/app/views/products/_product_header.html.slim index 4dd3d9dcc06..363572ee531 100644 --- a/app/views/products/_product_header.html.slim +++ b/app/views/products/_product_header.html.slim @@ -11,7 +11,7 @@ header.page-content-header .page-content-header__before-title = link_to product.user, class: 'a-user-name' do = product.user.long_name - - if current_user&.mentor? && @product.user.trainee? + - if current_user&.admin_or_mentor? && @product.user.trainee? .a-meta span.a-meta__label = User.human_attribute_name :training_ends_on