From b94f0a9b69eddd0de6edacd3df4183b3036954a1 Mon Sep 17 00:00:00 2001 From: Alexandre Vryghem Date: Sun, 3 Dec 2023 05:15:04 +0100 Subject: [PATCH] Fix resource policy accessibility issues (cherry picked from commit 09bf8af03cbb9fccba459bc9bcb8a7b70716f3c5) --- .../entry/resource-policy-entry.component.html | 4 +++- .../resource-policies/resource-policies.component.html | 6 ++++-- src/assets/i18n/en.json5 | 8 ++++++++ 3 files changed, 15 insertions(+), 3 deletions(-) diff --git a/src/app/shared/resource-policies/entry/resource-policy-entry.component.html b/src/app/shared/resource-policies/entry/resource-policy-entry.component.html index 5a9494fe00..a14dde366e 100644 --- a/src/app/shared/resource-policies/entry/resource-policy-entry.component.html +++ b/src/app/shared/resource-policies/entry/resource-policy-entry.component.html @@ -5,7 +5,9 @@ [id]="entry.id" [ngModel]="entry.checked" (ngModelChange)="this.toggleCheckbox.emit($event);"> - + diff --git a/src/app/shared/resource-policies/resource-policies.component.html b/src/app/shared/resource-policies/resource-policies.component.html index 277f6e4998..b3dda9091d 100644 --- a/src/app/shared/resource-policies/resource-policies.component.html +++ b/src/app/shared/resource-policies/resource-policies.component.html @@ -38,11 +38,13 @@
- - +
{{'resource-policies.table.headers.id' | translate}} diff --git a/src/assets/i18n/en.json5 b/src/assets/i18n/en.json5 index a63c468b53..99af486d8c 100644 --- a/src/assets/i18n/en.json5 +++ b/src/assets/i18n/en.json5 @@ -3610,6 +3610,14 @@ "resource-policies.table.headers.group": "Group", + "resource-policies.table.headers.select-all": "Select all", + + "resource-policies.table.headers.deselect-all": "Deselect all", + + "resource-policies.table.headers.select": "Select", + + "resource-policies.table.headers.deselect": "Deselect", + "resource-policies.table.headers.id": "ID", "resource-policies.table.headers.name": "Name",