Use DSONameService to display DSpaceObjects names

This commit is contained in:
Alexandre Vryghem
2023-02-26 17:10:25 +01:00
parent ca864379c8
commit 2513f91a1a
160 changed files with 608 additions and 288 deletions

View File

@@ -1,8 +1,8 @@
<a *ngIf="linkType != linkTypes.None" [target]="(linkType == linkTypes.ExternalLink) ? '_blank' : '_self'" rel="noopener noreferrer" [routerLink]="['/collections/' + object.id]" class="lead">
{{object.name}}
{{ dsoNameService.getName(object) }}
</a>
<span *ngIf="linkType == linkTypes.None" class="lead">
{{object.name}}
{{ dsoNameService.getName(object) }}
</span>
<div *ngIf="object.shortDescription" class="text-muted abstract-text">
{{object.shortDescription}}