From fae64ebb024bf351f952545c2f7025fb5302862b Mon Sep 17 00:00:00 2001 From: hirano-vm4 Date: Sun, 17 Mar 2024 23:37:20 +0900 Subject: [PATCH] =?UTF-8?q?/external=5Fentries=E3=81=AE=E3=83=A6=E3=83=BC?= =?UTF-8?q?=E3=82=B6=E3=83=BC=E3=82=A2=E3=82=A4=E3=82=B3=E3=83=B3=E3=81=AB?= =?UTF-8?q?role=E3=82=92=E8=A1=A8=E3=81=99=E8=89=B2=E6=9E=A0=E3=81=8C?= =?UTF-8?q?=E8=A1=A8=E7=A4=BA=E3=81=95=E3=82=8C=E3=81=AA=E3=81=84=E3=83=90?= =?UTF-8?q?=E3=82=B0=E3=82=92=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/javascript/components/external-entry.vue | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/app/javascript/components/external-entry.vue b/app/javascript/components/external-entry.vue index e974747f859..c279f0c84cc 100644 --- a/app/javascript/components/external-entry.vue +++ b/app/javascript/components/external-entry.vue @@ -3,10 +3,11 @@ .card-list-item__inner .card-list-item__user a.card-list-item__user-link(:href='externalEntry.user.url') - img.card-list-item__user-icon.a-user-icon( - :title='externalEntry.user.icon_title', - :alt='externalEntry.user.icon_title', - :src='externalEntry.user.avatar_url') + span(:class='`a-user-role is-${externalEntry.user.primary_role}`') + img.card-list-item__user-icon.a-user-icon( + :title='externalEntry.user.icon_title', + :alt='externalEntry.user.icon_title', + :src='externalEntry.user.avatar_url') .card-list-item__rows .card-list-item__row .card-list-item-title