diff --git a/src/app/features/admin-institutions/components/admin-table/admin-table.component.html b/src/app/features/admin-institutions/components/admin-table/admin-table.component.html index 09457ede0..a6f3a4dfb 100644 --- a/src/app/features/admin-institutions/components/admin-table/admin-table.component.html +++ b/src/app/features/admin-institutions/components/admin-table/admin-table.component.html @@ -122,30 +122,39 @@ } @else if (col.isLink && col.isArray && isLinkArray(currentColumnField)) {
- @for (link of currentColumnField; track $index) { + @if (currentColumnField.length === 0 && col.field === 'creator') {
- - - {{ link.text + ($last ? '' : ',') }} - - @if (col.showIcon) { - - } +
+ } @else { + @for (link of currentColumnField; track $index) { +
+ + + {{ link.text + ($last ? '' : ',') }} + + @if (col.showIcon) { + + } +
+ } }
} @else { diff --git a/src/app/features/admin-institutions/components/admin-table/admin-table.component.ts b/src/app/features/admin-institutions/components/admin-table/admin-table.component.ts index 68d79dbb5..bd35734e2 100644 --- a/src/app/features/admin-institutions/components/admin-table/admin-table.component.ts +++ b/src/app/features/admin-institutions/components/admin-table/admin-table.component.ts @@ -20,6 +20,7 @@ import { TableIconClickEvent, } from '@osf/features/admin-institutions/models'; import { CustomPaginatorComponent } from '@osf/shared/components/custom-paginator/custom-paginator.component'; +import { InfoIconComponent } from '@osf/shared/components/info-icon/info-icon.component'; import { StopPropagationDirective } from '@osf/shared/directives/stop-propagation.directive'; import { PaginationLinksModel } from '@osf/shared/models/pagination-links.model'; import { SearchFilters } from '@osf/shared/models/search-filters.model'; @@ -43,6 +44,7 @@ import { DownloadType } from '../../enums'; StopPropagationDirective, DatePipe, NgClass, + InfoIconComponent, ], templateUrl: './admin-table.component.html', styleUrl: './admin-table.component.scss', diff --git a/src/assets/i18n/en.json b/src/assets/i18n/en.json index 57c553cb8..ba89a6abf 100644 --- a/src/assets/i18n/en.json +++ b/src/assets/i18n/en.json @@ -2884,7 +2884,8 @@ "orcid": "ORCID", "noData": "No users found", "messageSent": "Message has been sent.", - "requestSent": "Request has been sent." + "requestSent": "Request has been sent.", + "notBibliographicOrAffiliatedUserText": "The user is not bibliographic or no longer affiliated with the institution" }, "projects": { "title": "Title",