Skip to content

Commit

Permalink
ECOMMONS-1639
Browse files Browse the repository at this point in the history
display of other contributor roles as "author" on simple item page when dc.contributor.author is empty
  • Loading branch information
bmckinney committed Mar 8, 2024
1 parent 86cd8bb commit 0c19193
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,15 @@ <h5>Permanent Link(s)</h5>
</ds-metadata-representation-list>
</ng-container>

<ng-container *ngIf="!object.metadata['dc.contributor.author']">
<ds-metadata-representation-list class="ds-item-page-mixed-author-field"
[parentItem]="object"
[itemType]="'Person'"
[metadataFields]="['dc.creator', 'dc.contributor.editor', 'dc.contributor.illustrator', 'dc.contributor.judge', 'dc.contributor.other']"
[label]="'relationships.isAuthorOf' | translate">
</ds-metadata-representation-list>
</ng-container>

<ds-item-page-kaltura-field [item]="object"></ds-item-page-kaltura-field>

<ds-item-page-abstract-field [item]="object"></ds-item-page-abstract-field>
Expand Down

0 comments on commit 0c19193

Please sign in to comment.