diff --git a/ui/admin/app/templates/scopes/scope/host-catalogs/index.hbs b/ui/admin/app/templates/scopes/scope/host-catalogs/index.hbs index aa2aaa0c2..f2e10cd9a 100644 --- a/ui/admin/app/templates/scopes/scope/host-catalogs/index.hbs +++ b/ui/admin/app/templates/scopes/scope/host-catalogs/index.hbs @@ -36,46 +36,43 @@ {{#if @model}} - - - - {{t 'form.name.label'}} - {{t 'form.type.label'}} - {{t 'form.id.label'}} - - - - {{#each @model as |hostCatalog|}} - - - {{#if (can 'read host-catalog' hostCatalog)}} - - {{hostCatalog.displayName}} - - {{else}} - {{hostCatalog.displayName}} - {{/if}} - {{hostCatalog.description}} - - - - - - + <:body as |B|> + + + {{#if (can 'read host-catalog' B.data)}} + - {{hostCatalog.id}} - - - - {{/each}} - - + {{B.data.displayName}} + + {{else}} + + {{B.data.displayName}} + + {{/if}} + {{B.data.description}} + + + + + + + + + + {{else}}
{{hostCatalog.description}}
{{hostCatalog.id}}