mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 01:54:15 +00:00
18 lines
1.2 KiB
HTML
18 lines
1.2 KiB
HTML
<div class="card">
|
|
<a *ngIf="linkType != linkTypes.None" [target]="(linkType == linkTypes.ExternalLink) ? '_blank' : '_self'" [attr.rel]="(linkType == linkTypes.ExternalLink) ? 'noopener noreferrer' : null" [routerLink]="['/collections/', object.id]" class="card-img-top" [attr.title]="'search.results.view-result' | translate">
|
|
<ds-themed-thumbnail [thumbnail]="(object.logo | async)?.payload" [limitWidth]="false">
|
|
</ds-themed-thumbnail>
|
|
</a>
|
|
<span *ngIf="linkType == linkTypes.None" class="card-img-top">
|
|
<ds-themed-thumbnail [thumbnail]="(object.logo | async)?.payload" [limitWidth]="false">
|
|
</ds-themed-thumbnail>
|
|
</span>
|
|
<div class="card-body">
|
|
<h4 class="card-title">{{ dsoNameService.getName(object) }}</h4>
|
|
<p *ngIf="object.shortDescription" class="card-text">{{object.shortDescription}}</p>
|
|
<div *ngIf="linkType != linkTypes.None" class="text-center">
|
|
<a [target]="(linkType == linkTypes.ExternalLink) ? '_blank' : '_self'" [attr.rel]="(linkType == linkTypes.ExternalLink) ? 'noopener noreferrer' : null" [routerLink]="['/collections/', object.id]" class="lead btn btn-primary viewButton">{{ 'search.results.view-result' | translate}}</a>
|
|
</div>
|
|
</div>
|
|
</div>
|