{{!
  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 provider has been limited, and no applications are allowed to use it. Edit the provider to allow access."
    />
    <A.Footer as |F|>
      <F.LinkStandalone
        @icon="chevron-right"
        @iconPosition="trailing"
        @text="Edit provider"
        @route="vault.cluster.access.oidc.providers.provider.edit"
      />
    </A.Footer>
  </Hds::ApplicationState>
{{/if}}