mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-12 17:04:57 +00:00
17 lines
802 B
HTML
17 lines
802 B
HTML
<div class="adf-property-label">{{ property.label | translate }}</div>
|
|
<div class="adf-property-value">
|
|
<div>
|
|
<span *ngIf="!isClickable(); else elseBlock" [attr.data-automation-id]="'card-mapitem-value-' + property.key">
|
|
<span *ngIf="!property.isEmpty(); else elseEmptyValueBlock">{{ property.displayValue }}</span>
|
|
</span>
|
|
<ng-template #elseBlock>
|
|
<span class="adf-mapitem-clickable-value" (click)="clicked()" [attr.data-automation-id]="'card-mapitem-value-' + property.key">
|
|
<span *ngIf="!property.isEmpty(); else elseEmptyValueBlock">{{ property.displayValue }}</span>
|
|
</span>
|
|
</ng-template>
|
|
</div>
|
|
<ng-template #elseEmptyValueBlock>
|
|
{{ property.default | translate }}
|
|
</ng-template>
|
|
</div>
|