uoa-repository-manager-service/app/features/administration/configurator/configurator-list-of-parame.../configurator-list-of-parame...

39 lines
1.5 KiB
HTML

<p-fieldset legend="List of Parameters" [toggleable]="true">
<p-table [value]="parametersListInput"
[lazy]="true"
[loading]="loadingInput"
[autoLayout]="true"
[rowHover]="true"
styleClass="p-datatable-gridlines"
[(selection)]="selectedParameterRequest"
(click)="passSelectedConfigurator(selectedParameterRequest)">
<ng-template pTemplate="header">
<tr>
<th style="width: 3rem"></th>
<th>Parameter Name</th>
<th>Parameter Type</th>
<th>Parameter Value </th>
</tr>
</ng-template>
<ng-template pTemplate="body"
let-parameter>
<tr>
<td>
<p-tableRadioButton *ngIf="parameter.configurationVariable != 'CRON_EXPRESSION'" [value]="parameter"></p-tableRadioButton>
</td>
<td>{{parameter.configurationVariable}}</td>
<td>{{parameter.variableType}}</td>
<td>
<span *ngIf="parameter.variableType === 'Integer'" >{{parameter.integerValue}}<br></span>
<span *ngIf="parameter.variableType === 'String'" >{{parameter.stringValue}}<br></span>
</td>
<!-- <td *ngIf="parameter.variableType === 'Integer'">{{parameter.integerValue}}</td>
<td *ngIf="parameter.variableType === 'String'">{{parameter.stringValue}}</td> -->
<!-- Edit & Delete icons -->
</tr>
</ng-template>
</p-table>
</p-fieldset>