fix missing translation permission (#7297)

fix UI regression Datatable full width
This commit is contained in:
Eugenio Romano
2021-10-13 14:50:09 +01:00
committed by GitHub
parent 3eb74384ae
commit 40377e040e
3 changed files with 7 additions and 1 deletions

View File

@@ -405,6 +405,8 @@
"BULK-ROLE": "Set all role to" "BULK-ROLE": "Set all role to"
}, },
"LABELS": { "LABELS": {
"HIDE": "Hide",
"SHOW": "Show",
"ON": "On", "ON": "On",
"OFF": "Off", "OFF": "Off",
"DIRECT-PERMISSIONS": "Directly Applied Permission", "DIRECT-PERMISSIONS": "Directly Applied Permission",

View File

@@ -43,7 +43,7 @@
[target]="target" [target]="target"
#popOver="adfPopOver" #popOver="adfPopOver"
*ngIf="model.node.permissions.isInheritanceEnabled"> *ngIf="model.node.permissions.isInheritanceEnabled">
{{ popOver.open ? "Hide" : "Show" }} {{ (popOver.open ? 'PERMISSION_MANAGER.LABELS.HIDE' : 'PERMISSION_MANAGER.LABELS.SHOW') | translate }}
<mat-icon *ngIf="popOver.open"> keyboard_arrow_up </mat-icon> <mat-icon *ngIf="popOver.open"> keyboard_arrow_up </mat-icon>
<mat-icon *ngIf="!popOver.open"> keyboard_arrow_down </mat-icon> <mat-icon *ngIf="!popOver.open"> keyboard_arrow_down </mat-icon>
</button> </button>

View File

@@ -16,6 +16,10 @@ $data-table-cell-min-width--fileSize: $data-table-cell-min-width !default;
.adf-datatable { .adf-datatable {
overflow-y: scroll; overflow-y: scroll;
height: 100%; height: 100%;
.adf-full-width {
width: 100%;
}
} }
.adf-datatable-card { .adf-datatable-card {