Skip to content

Commit

Permalink
src/app: use dcterms.issued and dcterms.publisher
Browse files Browse the repository at this point in the history
I can't figure out how to theme the ItemListPreviewComponent comp-
onent even though it should be possible, so I will just fix these
in the main src app.
  • Loading branch information
alanorth committed Jan 13, 2024
1 parent c0506ff commit 9298dde
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ <h3 [innerHTML]="dsoTitle" [ngClass]="{'lead': true,'text-muted': !item.firstMet
<div>
<span class="text-muted">
<ds-truncatable-part [id]="item.id" [minLines]="1">
(<span *ngIf="item.hasMetadata('dc.publisher')" class="item-list-publisher"
[innerHTML]="item.firstMetadataValue('dc.publisher') + ', '"></span>
(<span *ngIf="item.hasMetadata('dcterms.publisher')" class="item-list-publisher"
[innerHTML]="item.firstMetadataValue('dcterms.publisher') + ', '"></span>
<span class="item-list-date"
[innerHTML]="item.firstMetadataValue('dc.date.issued') || ('mydspace.results.no-date' | translate)"></span>)
[innerHTML]="item.firstMetadataValue('dcterms.issued') || ('mydspace.results.no-date' | translate)"></span>)
<span *ngIf="item.hasMetadata(['dc.contributor.author', 'dc.creator', 'dc.contributor.*']);"
class="item-list-authors">
<span
Expand Down

0 comments on commit 9298dde

Please sign in to comment.