Merge pull request #905 from saschaszott/issue-904

bugfix of issue #904
This commit is contained in:
Art Lowel
2020-11-05 10:22:05 +01:00
committed by GitHub

View File

@@ -7,20 +7,19 @@
<span *ngIf="linkType == linkTypes.None" class="lead" <span *ngIf="linkType == linkTypes.None" class="lead"
[innerHTML]="firstMetadataValue('dc.title')"></span> [innerHTML]="firstMetadataValue('dc.title')"></span>
<span class="text-muted"> <span class="text-muted">
<ds-truncatable-part [id]="dso.id" [minLines]="1"> <ds-truncatable-part [id]="dso.id" [minLines]="1">
<ng-container *ngIf="dso.firstMetadataValue('dc.publisher') || dso.firstMetadataValue('dc.date.issued')">(<span class="item-list-publisher" <ng-container *ngIf="dso.firstMetadataValue('dc.publisher') || dso.firstMetadataValue('dc.date.issued')">
[innerHTML]="firstMetadataValue('dc.publisher')">, </span><span (<span *ngIf="dso.firstMetadataValue('dc.publisher')" class="item-list-publisher" [innerHTML]="firstMetadataValue('dc.publisher') + ', '"></span>
*ngIf="dso.firstMetadataValue('dc.date.issued')" class="item-list-date" <span *ngIf="dso.firstMetadataValue('dc.date.issued')" class="item-list-date" [innerHTML]="firstMetadataValue('dc.date.issued')"></span>)
[innerHTML]="firstMetadataValue('dc.date.issued')"></span>)</ng-container> </ng-container>
<span *ngIf="dso.allMetadata(['dc.contributor.author', 'dc.creator', 'dc.contributor.*']).length > 0" <span *ngIf="dso.allMetadata(['dc.contributor.author', 'dc.creator', 'dc.contributor.*']).length > 0" class="item-list-authors">
class="item-list-authors"> <span *ngFor="let author of allMetadataValues(['dc.contributor.author', 'dc.creator', 'dc.contributor.*']); let last=last;">
<span *ngFor="let author of allMetadataValues(['dc.contributor.author', 'dc.creator', 'dc.contributor.*']); let last=last;"> <span [innerHTML]="author"><span [innerHTML]="author"></span></span>
<span [innerHTML]="author"><span [innerHTML]="author"></span></span> <span *ngIf="!last">; </span>
<span *ngIf="!last">; </span> </span>
</span> </span>
</span> </ds-truncatable-part>
</ds-truncatable-part> </span>
</span>
<div *ngIf="dso.firstMetadataValue('dc.description.abstract')" class="item-list-abstract"> <div *ngIf="dso.firstMetadataValue('dc.description.abstract')" class="item-list-abstract">
<ds-truncatable-part [id]="dso.id" [minLines]="3"><span <ds-truncatable-part [id]="dso.id" [minLines]="3"><span
[innerHTML]="firstMetadataValue('dc.description.abstract')"></span> [innerHTML]="firstMetadataValue('dc.description.abstract')"></span>