mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-12 17:04:57 +00:00
17 lines
660 B
HTML
17 lines
660 B
HTML
<div *ngIf="showData">
|
|
<div *ngIf="contentType === 'JSON'" id="webscript-data-JSON">{{data | json}}</div>
|
|
<div *ngIf="contentType === 'HTML'" id="webscript-data-HTML" [innerHTML]="data"></div>
|
|
<div *ngIf="contentType === 'TEXT'" id="webscript-data-TEXT">{{data}}</div>
|
|
<div *ngIf="isDataTableContent()">
|
|
<adf-datatable id="webscript-datatable-wrapper" [data]="data"></adf-datatable>
|
|
<div>
|
|
<div *ngIf="showError" id="error">{{'WEBSCRIPT.ERROR' | translate: {
|
|
data: data,
|
|
contentType: contentType
|
|
}
|
|
}}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|