Files
dspace-angular/src/app/shared/object-list/sidebar-search-list-element/sidebar-search-list-element.component.html

15 lines
632 B
HTML

<ds-truncatable-part *ngIf="parentTitle$ && parentTitle$ | async" [maxLines]="1">
<div [ngClass]="isCurrent() ? 'text-light' : 'text-body'"
[innerHTML]="parentTitle$ | async"></div>
</ds-truncatable-part>
<ds-truncatable-part *ngIf="title" [maxLines]="1">
<div class="font-weight-bold"
[ngClass]="isCurrent() ? 'text-light' : 'text-primary'"
[innerHTML]="title"></div>
</ds-truncatable-part>
<ds-truncatable-part *ngIf="description" [maxLines]="1">
<div class="text-secondary"
[ngClass]="isCurrent() ? 'text-light' : 'text-secondary'"
[innerHTML]="description"></div>
</ds-truncatable-part>