From d9f1d87e1846658d7653de29890a386b47da28c6 Mon Sep 17 00:00:00 2001 From: futa-ikeda Date: Tue, 19 Nov 2024 14:54:18 -0500 Subject: [PATCH] Add placeholder if user has no ORCID --- .../-components/institutional-users-list/template.hbs | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/app/institutions/dashboard/-components/institutional-users-list/template.hbs b/app/institutions/dashboard/-components/institutional-users-list/template.hbs index 79c7beec45..c7d7e1d498 100644 --- a/app/institutions/dashboard/-components/institutional-users-list/template.hbs +++ b/app/institutions/dashboard/-components/institutional-users-list/template.hbs @@ -161,9 +161,13 @@ {{institutionalUser.userGuid}} {{else if (eq column.type 'orcid')}} - - {{institutionalUser.orcidId}} - + {{#if institutionalUser.orcidId}} + + {{institutionalUser.orcidId}} + + {{else}} + {{t 'institutions.dashboard.object-list.table-items.missing-info'}} + {{/if}} {{else if (eq column.type 'date_by_month')}} {{#if (get institutionalUser column.key)}} {{moment-format (get institutionalUser column.key) 'MM/YYYY'}}