diff --git a/ui/core/app/templates/orgs/org/error.hbs b/ui/core/app/templates/orgs/org/error.hbs index d3241d609..ac2abe9e9 100644 --- a/ui/core/app/templates/orgs/org/error.hbs +++ b/ui/core/app/templates/orgs/org/error.hbs @@ -13,45 +13,46 @@ * we don't distinguish it yet --}} -{{#each @model.errors as |error|}} - {{#if error.isUnauthenticated}} + + {{#each @model.errors as |error|}} {{!-- error.status === 401 --}} - - {{error.message}} {{t 'descriptions.unauthenticated-error'}} - {{t 'actions.help'}} - - {{/if}} + {{#if error.isUnauthenticated}} + + {{error.message}} {{t 'descriptions.unauthenticated-error'}} + {{t 'actions.help'}} + + {{/if}} - {{#if error.isForbidden}} {{!-- error.status === 403 --}} - - {{error.message}} {{t 'descriptions.forbidden-error'}} - {{t 'actions.help'}} - - {{/if}} + {{#if error.isForbidden}} + + {{error.message}} {{t 'descriptions.forbidden-error'}} + {{t 'actions.help'}} + + {{/if}} - {{#if error.isNotFound}} {{!-- error.status === 404 --}} - - {{error.message}} {{t 'descriptions.notfound-error'}} - {{t 'actions.help'}} - - {{/if}} + {{#if error.isNotFound}} + + {{error.message}} {{t 'descriptions.notfound-error'}} + {{t 'actions.help'}} + + {{/if}} - {{#if error.isServer}} {{!-- error.status === 500 --}} - - {{error.message}} {{t 'descriptions.server-error'}} - {{t 'actions.help'}} - - {{/if}} + {{#if error.isServer}} + + {{error.message}} {{t 'descriptions.server-error'}} + {{t 'actions.help'}} + + {{/if}} - {{#if error.isUnknown}} {{!-- error.status === 🤷 everything else --}} - - {{error.message}} {{t 'descriptions.unknown-error'}} - {{t 'actions.help'}} - - {{/if}} - -{{/each}} + {{#if error.isUnknown}} + + {{error.message}} {{t 'descriptions.unknown-error'}} + {{t 'actions.help'}} + + {{/if}} + {{/each}} +