From 46d8758fbad620963a9f9b360870121825d63edb Mon Sep 17 00:00:00 2001 From: Devon Anderson Date: Wed, 26 Apr 2023 15:37:56 -0400 Subject: [PATCH] =?UTF-8?q?refactor:=20=F0=9F=92=A1=20refactored=20whitesp?= =?UTF-8?q?ace=20from=20layout=20(#1675)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * refactor: 💡 refactored whitespace from layout Removed whitespace html formatting from layout in add-principals view. ✅ Closes: ICU-5987 * refactor: 💡 removed lint ignore Removed lint ignore for whitespace formating. --- .../form/role/add-principals/index.hbs | 75 ++++++++----------- 1 file changed, 33 insertions(+), 42 deletions(-) diff --git a/ui/admin/app/components/form/role/add-principals/index.hbs b/ui/admin/app/components/form/role/add-principals/index.hbs index fafd23dc4..c58d7b256 100644 --- a/ui/admin/app/components/form/role/add-principals/index.hbs +++ b/ui/admin/app/components/form/role/add-principals/index.hbs @@ -3,7 +3,6 @@ SPDX-License-Identifier: MPL-2.0 }} -{{! template-lint-disable no-whitespace-for-layout }} {{#if this.hasAvailablePrincipals}} - - - - {{t 'form.name.label'}} - {{t 'form.id.label'}} - {{t 'form.type.label'}} - {{t 'resources.scope.title'}} - {{t 'form.description.label'}} - - - - {{#each this.filteredPrincipals as |principal|}} - - - - {{#if principal.accountName}} - {{! - The following is a formatting hack since we don't have a great - way to manage micro-whitespace or alignment among separate - components without resorting to heavy-handed grids - or contextualization. This is a one-off. - }} -        - - {{/if}} - - {{principal.id}} - - - - - - - {{principal.description}} - - {{/each}} - - + + <:body as |B|> + + + + {{B.data.displayName}} + {{#if B.data.accountName}} + + + + {{/if}} + + + {{B.data.id}} + + + {{B.data.description}} + + + {{/if}}