Skip to content

Commit

Permalink
src/app/shared/object-list: fix abstract in MyDSpace
Browse files Browse the repository at this point in the history
Use dcterms.abstract in MyDSpace item list. It's not possible to
customize this in a theme so I have to do it in src/app.
  • Loading branch information
alanorth committed Feb 25, 2024
1 parent 824bf37 commit 40c30ad
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ <h3 [innerHTML]="dsoTitle" [ngClass]="{'lead': true,'text-muted': !item.firstMet
</span>

<ds-truncatable-part [id]="item.id" [minLines]="1" class="item-list-abstract">
<span [ngClass]="{'text-muted': !item.firstMetadataValue('dc.description.abstract')}"
[innerHTML]="(item.firstMetadataValue('dc.description.abstract')) || ('mydspace.results.no-abstract' | translate)"></span>
<span [ngClass]="{'text-muted': !item.firstMetadataValue('dcterms.abstract')}"
[innerHTML]="(item.firstMetadataValue('dcterms.abstract')) || ('mydspace.results.no-abstract' | translate)"></span>
</ds-truncatable-part>

</div>
Expand Down

0 comments on commit 40c30ad

Please sign in to comment.