mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-12 12:33:07 +00:00

Minor adjustment to community and collection item counts. Instead of using the Bootstrap `lead` class, which reduces weight but increases size, we should use the same badge / pill style used in other counts like on on the browse by pages.
14 lines
750 B
HTML
14 lines
750 B
HTML
<div class="d-flex flex-row">
|
|
<a *ngIf="linkType != linkTypes.None" [target]="(linkType == linkTypes.ExternalLink) ? '_blank' : '_self'" [attr.rel]="(linkType == linkTypes.ExternalLink) ? 'noopener noreferrer' : null" [routerLink]="['/communities/' + object.id]" class="lead">
|
|
{{ dsoNameService.getName(object) }}
|
|
</a>
|
|
<span *ngIf="linkType == linkTypes.None" class="lead">
|
|
{{ dsoNameService.getName(object) }}
|
|
</span>
|
|
<span class="pr-2"> </span>
|
|
<span *ngIf="object.archivedItemsCount >= 0" class="badge badge-pill badge-secondary align-self-center archived-items-lead">{{object.archivedItemsCount}}</span>
|
|
</div>
|
|
<div *ngIf="object.shortDescription" class="text-muted abstract-text">
|
|
{{object.shortDescription}}
|
|
</div>
|