Merge pull request #2129 from alexandrevryghem/retrieve-name-with-dsonameservice-main

Use the DSONameService to display DSpaceObjects names
This commit is contained in:
Tim Donohue
2023-05-22 15:55:47 -05:00
committed by GitHub
180 changed files with 685 additions and 359 deletions

View File

@@ -8,7 +8,7 @@
</ds-themed-thumbnail>
</span>
<div class="card-body">
<h4 class="card-title">{{object.name}}</h4>
<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'" rel="noopener noreferrer" [routerLink]="['/collections/', object.id]" class="lead btn btn-primary viewButton">{{ 'search.results.view-result' | translate}}</a>