From 7db77c6c6d0d9ac18d590d8e5a15fcef26c18783 Mon Sep 17 00:00:00 2001 From: NatashaKab <133793701+NatashaKab@users.noreply.github.com> Date: Wed, 12 Jul 2023 10:28:13 -0400 Subject: [PATCH] Icu 10120 use hds table in users list view (#1764) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore: 🤖 Retire rose form textarea ✅ Closes: ICU-9425 * refactor: 💡 Added the disabled feature requested by Dharini * refactor: 💡 Rose tables to HDS tables in Users * refactor: 💡 Removed implementation of rose tables in users --------- Co-authored-by: Dharini Jeeva --- .../templates/scopes/scope/users/index.hbs | 72 +++++++++---------- 1 file changed, 36 insertions(+), 36 deletions(-) diff --git a/ui/admin/app/templates/scopes/scope/users/index.hbs b/ui/admin/app/templates/scopes/scope/users/index.hbs index b40eb8f4d..47ceeea25 100644 --- a/ui/admin/app/templates/scopes/scope/users/index.hbs +++ b/ui/admin/app/templates/scopes/scope/users/index.hbs @@ -33,42 +33,42 @@ {{#if @model}} - - - - {{t 'form.name.label'}} - {{t 'form.id.label'}} - - - - {{#each @model as |user|}} - - - {{#if (can 'read model' user)}} - - {{user.displayName}} - - {{else}} - {{user.displayName}} - {{/if}} - {{#if user.accountName}} -
- {{/if}} -

{{user.description}}

-
- - - {{user.id}} - - -
- {{/each}} -
-
+ + <:body as |B|> + + + {{#if (can 'read user' B.data)}} + + {{B.data.displayName}} + + {{else}} + {{B.data.displayName}} + {{/if}} + {{#if B.data.accountName}} +
+ {{/if}} +

{{B.data.description}}

+
+ + + {{B.data.id}} + + +
+ +
{{else}}