Merge branch 'w2p-94060_Issue-1720_MyDSpace-support-entities_7.2' into w2p-94060_Issue-1720_MyDSpace-support-entities

This commit is contained in:
lotte
2022-09-06 14:17:33 +02:00
3 changed files with 6 additions and 4 deletions

View File

@@ -2,10 +2,10 @@
<ds-truncatable [id]="dso.id">
<a *ngIf="linkType != linkTypes.None" [target]="(linkType == linkTypes.ExternalLink) ? '_blank' : '_self'" rel="noopener noreferrer"
[routerLink]="[itemPageRoute]" class="lead"
[innerHTML]="firstMetadataValue('organization.legalName')"></a>
[innerHTML]="firstMetadataValue('organization.legalName') || ('orgunit.listelement.no-title' | translate)"></a>
<span *ngIf="linkType == linkTypes.None"
class="lead"
[innerHTML]="firstMetadataValue('organization.legalName')"></span>
[innerHTML]="firstMetadataValue('organization.legalName') || ('orgunit.listelement.no-title' | translate)"></span>
<span class="text-muted">
<span *ngIf="dso.allMetadata(['dc.description']).length > 0"
class="item-list-org-unit-description">

View File

@@ -2,10 +2,10 @@
<ds-truncatable [id]="dso.id">
<a *ngIf="linkType != linkTypes.None" [target]="(linkType == linkTypes.ExternalLink) ? '_blank' : '_self'" rel="noopener noreferrer"
[routerLink]="[itemPageRoute]" class="lead"
[innerHTML]="name"></a>
[innerHTML]="name || ('person.listelement.no-title' | translate)"></a>
<span *ngIf="linkType == linkTypes.None"
class="lead"
[innerHTML]="name"></span>
[innerHTML]="name || ('person.listelement.no-title' | translate)"></span>
<span class="text-muted">
<ds-truncatable-part [id]="dso.id" [minLines]="1">
<span *ngIf="dso.allMetadata(['person.jobTitle']).length > 0"

View File

@@ -2851,6 +2851,8 @@
"orgunit.listelement.badge": "Organizational Unit",
"orgunit.listelement.no-title": "Untitled",
"orgunit.page.city": "City",
"orgunit.page.country": "Country",