[DURACOM-307] apply migration script to conflicted files resolved in favor of Angular 18 update

This commit is contained in:
FrancescoMolinaro
2025-03-10 18:11:22 +01:00
parent 1aa9faeb2f
commit 51c95de793
193 changed files with 7962 additions and 6485 deletions

View File

@@ -1,13 +1,21 @@
<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]="['/collections/' + object.id]" class="lead">
{{ dsoNameService.getName(object) }}
</a>
<span *ngIf="linkType === linkTypes.None" class="lead">
{{ dsoNameService.getName(object) }}
</span>
@if (linkType !== linkTypes.None) {
<a [target]="(linkType === linkTypes.ExternalLink) ? '_blank' : '_self'" [attr.rel]="(linkType === linkTypes.ExternalLink) ? 'noopener noreferrer' : null" [routerLink]="['/collections/' + object.id]" class="lead">
{{ dsoNameService.getName(object) }}
</a>
}
@if (linkType === linkTypes.None) {
<span class="lead">
{{ dsoNameService.getName(object) }}
</span>
}
<span class="pe-2">&nbsp;</span>
<span *ngIf="object.archivedItemsCount >= 0" class="badge rounded-pill bg-secondary align-self-center archived-items-lead ps-2 pe-2">{{object.archivedItemsCount}}</span>
@if (object.archivedItemsCount >= 0) {
<span class="badge rounded-pill bg-secondary align-self-center archived-items-lead ps-2 pe-2">{{object.archivedItemsCount}}</span>
}
</div>
<div *ngIf="object.shortDescription" class="text-muted abstract-text">
@if (object.shortDescription) {
<div class="text-muted abstract-text">
{{object.shortDescription}}
</div>
</div>
}