|
|
|
@ -115,17 +115,34 @@ |
|
|
|
<h5>{{ 'common.schemas' | sqxTranslate }}</h5> |
|
|
|
|
|
|
|
<div class="row rule-section"> |
|
|
|
<div class="custom-control custom-checkbox col-6" *ngFor="let schema of schemas; trackBy: trackBySchema"> |
|
|
|
<input class="custom-control-input" type="checkbox" id="{{role.name}}_schema_{{schema.name}}" |
|
|
|
[disabled]="!isEditable" |
|
|
|
[ngModel]="getProperty(propertiesList.HIDE_CONTENTS(schema.name))" |
|
|
|
(ngModelChange)="setProperty(propertiesList.HIDE_CONTENTS(schema.name), $event)" |
|
|
|
[ngModelOptions]="standalone"> |
|
|
|
<label class="custom-control-label" for="{{role.name}}_schema_{{schema.name}}"> |
|
|
|
<span class="truncate"> |
|
|
|
{{ 'roles.properties.hideContents' | sqxTranslate: { schema: schema.displayName } }} |
|
|
|
</span> |
|
|
|
</label> |
|
|
|
<div class="col-6"> |
|
|
|
<div class="custom-control custom-checkbox" *ngFor="let schema of schemas | slice:0:halfSchemas; trackBy: trackBySchema"> |
|
|
|
<input class="custom-control-input" type="checkbox" id="{{role.name}}_schema_{{schema.name}}" |
|
|
|
[disabled]="!isEditable" |
|
|
|
[ngModel]="getProperty(propertiesList.HIDE_CONTENTS(schema.name))" |
|
|
|
(ngModelChange)="setProperty(propertiesList.HIDE_CONTENTS(schema.name), $event)" |
|
|
|
[ngModelOptions]="standalone"> |
|
|
|
<label class="custom-control-label" for="{{role.name}}_schema_{{schema.name}}"> |
|
|
|
<span class="truncate"> |
|
|
|
{{ 'roles.properties.hideContents' | sqxTranslate: { schema: schema.displayName } }} |
|
|
|
</span> |
|
|
|
</label> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="col-6"> |
|
|
|
<div class="custom-control custom-checkbox" *ngFor="let schema of schemas | slice:halfSchemas; trackBy: trackBySchema"> |
|
|
|
<input class="custom-control-input" type="checkbox" id="{{role.name}}_schema_{{schema.name}}" |
|
|
|
[disabled]="!isEditable" |
|
|
|
[ngModel]="getProperty(propertiesList.HIDE_CONTENTS(schema.name))" |
|
|
|
(ngModelChange)="setProperty(propertiesList.HIDE_CONTENTS(schema.name), $event)" |
|
|
|
[ngModelOptions]="standalone"> |
|
|
|
<label class="custom-control-label" for="{{role.name}}_schema_{{schema.name}}"> |
|
|
|
<span class="truncate"> |
|
|
|
{{ 'roles.properties.hideContents' | sqxTranslate: { schema: schema.displayName } }} |
|
|
|
</span> |
|
|
|
</label> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|