Commits
Sascha Szott authored and GitHub committed 4e4ef36c348
1 1 | <ds-item-type-badge *ngIf="showLabel" [object]="dso"></ds-item-type-badge> |
2 2 | |
3 3 | <ds-truncatable [id]="dso.id" *ngIf="object !== undefined && object !== null"> |
4 4 | <a *ngIf="linkType != linkTypes.None" [target]="(linkType == linkTypes.ExternalLink) ? '_blank' : '_self'" rel="noopener noreferrer" |
5 5 | [routerLink]="['/items/' + dso.id]" class="lead" |
6 6 | [innerHTML]="firstMetadataValue('dc.title')"></a> |
7 7 | <span *ngIf="linkType == linkTypes.None" class="lead" |
8 8 | [innerHTML]="firstMetadataValue('dc.title')"></span> |
9 9 | <span class="text-muted"> |
10 - | <ds-truncatable-part [id]="dso.id" [minLines]="1"> |
11 - | <ng-container *ngIf="dso.firstMetadataValue('dc.publisher') || dso.firstMetadataValue('dc.date.issued')">(<span class="item-list-publisher" |
12 - | [innerHTML]="firstMetadataValue('dc.publisher')">, </span><span |
13 - | *ngIf="dso.firstMetadataValue('dc.date.issued')" class="item-list-date" |
14 - | [innerHTML]="firstMetadataValue('dc.date.issued')"></span>)</ng-container> |
15 - | <span *ngIf="dso.allMetadata(['dc.contributor.author', 'dc.creator', 'dc.contributor.*']).length > 0" |
16 - | class="item-list-authors"> |
17 - | <span *ngFor="let author of allMetadataValues(['dc.contributor.author', 'dc.creator', 'dc.contributor.*']); let last=last;"> |
18 - | <span [innerHTML]="author"><span [innerHTML]="author"></span></span> |
19 - | <span *ngIf="!last">; </span> |
20 - | </span> |
21 - | </span> |
22 - | </ds-truncatable-part> |
23 - | </span> |
10 + | <ds-truncatable-part [id]="dso.id" [minLines]="1"> |
11 + | <ng-container *ngIf="dso.firstMetadataValue('dc.publisher') || dso.firstMetadataValue('dc.date.issued')"> |
12 + | (<span *ngIf="dso.firstMetadataValue('dc.publisher')" class="item-list-publisher" [innerHTML]="firstMetadataValue('dc.publisher') + ', '"></span> |
13 + | <span *ngIf="dso.firstMetadataValue('dc.date.issued')" class="item-list-date" [innerHTML]="firstMetadataValue('dc.date.issued')"></span>) |
14 + | </ng-container> |
15 + | <span *ngIf="dso.allMetadata(['dc.contributor.author', 'dc.creator', 'dc.contributor.*']).length > 0" class="item-list-authors"> |
16 + | <span *ngFor="let author of allMetadataValues(['dc.contributor.author', 'dc.creator', 'dc.contributor.*']); let last=last;"> |
17 + | <span [innerHTML]="author"><span [innerHTML]="author"></span></span> |
18 + | <span *ngIf="!last">; </span> |
19 + | </span> |
20 + | </span> |
21 + | </ds-truncatable-part> |
22 + | </span> |
24 23 | <div *ngIf="dso.firstMetadataValue('dc.description.abstract')" class="item-list-abstract"> |
25 24 | <ds-truncatable-part [id]="dso.id" [minLines]="3"><span |
26 25 | [innerHTML]="firstMetadataValue('dc.description.abstract')"></span> |
27 26 | </ds-truncatable-part> |
28 27 | </div> |
29 28 | </ds-truncatable> |