{{!
  Copyright IBM Corp. 2016, 2025
  SPDX-License-Identifier: BUSL-1.1
}}

<Toolbar />

{{#if (gt this.model.length 0)}}
  <Oidc::ClientList @model={{this.model}} />
{{else}}
  <Hds::ApplicationState @align="center" class="top-padding-32" as |A|>
    <A.Header @title="No applications allowed" @titleTag="h2" />
    <A.Body
      @text="Access to this key has been limited, and no applications are allowed to use it. Edit the key to allow access."
    />
    <A.Footer as |F|>
      <F.LinkStandalone
        @icon="chevron-right"
        @iconPosition="trailing"
        @text="Edit key"
        @route="vault.cluster.access.oidc.keys.key.edit"
      />
    </A.Footer>
  </Hds::ApplicationState>
{{/if}}