From 3856746a7f5010136b28e7dbd36656fa98f089a7 Mon Sep 17 00:00:00 2001 From: Nicoleta Panaghiu Date: Mon, 11 Mar 2024 13:46:50 +0200 Subject: [PATCH] RED-8679: added more custom ids. --- .../dossier-templates-listing-screen.component.html | 2 ++ .../components/template-stats/template-stats.component.html | 1 + 2 files changed, 3 insertions(+) diff --git a/apps/red-ui/src/app/modules/admin/screens/dossier-templates-listing/dossier-templates-listing-screen/dossier-templates-listing-screen.component.html b/apps/red-ui/src/app/modules/admin/screens/dossier-templates-listing/dossier-templates-listing-screen/dossier-templates-listing-screen.component.html index 11f8a71be..17a7c7542 100644 --- a/apps/red-ui/src/app/modules/admin/screens/dossier-templates-listing/dossier-templates-listing-screen/dossier-templates-listing-screen.component.html +++ b/apps/red-ui/src/app/modules/admin/screens/dossier-templates-listing/dossier-templates-listing-screen/dossier-templates-listing-screen.component.html @@ -14,6 +14,8 @@ [noMatchText]="'dossier-templates-listing.no-match.title' | translate" [selectionEnabled]="true" [tableColumnConfigs]="tableColumnConfigs" + [rowIdPrefix]="'dossier-template'" + [namePropertyKey]="'name'" > diff --git a/apps/red-ui/src/app/modules/dashboard/components/template-stats/template-stats.component.html b/apps/red-ui/src/app/modules/dashboard/components/template-stats/template-stats.component.html index ac1b3498c..ae1e63523 100644 --- a/apps/red-ui/src/app/modules/dashboard/components/template-stats/template-stats.component.html +++ b/apps/red-ui/src/app/modules/dashboard/components/template-stats/template-stats.component.html @@ -75,6 +75,7 @@ [attr.help-mode-key]="'new_dossier'" [label]="'dashboard.empty-template.new-dossier' | translate" [type]="iconButtonTypes.primary" + [buttonId]="(dossierTemplate.name | snakeCase) + '-icon-button'" icon="iqser:plus" >