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

{{#if (not-eq this.router.currentRoute.localName "edit")}}
  <PageHeader as |p|>
    <p.top>
      <Hds::Breadcrumb>
        <Hds::Breadcrumb::Item @text="Applications" @route="vault.cluster.access.oidc.clients" />
        <Hds::Breadcrumb::Item @text={{this.model.name}} @current={{true}} />
      </Hds::Breadcrumb>
    </p.top>
    <p.levelLeft>
      <h1 class="title is-3" data-test-oidc-client-header>
        {{this.model.name}}
      </h1>
    </p.levelLeft>
  </PageHeader>

  <div class="tabs-container box is-sideless is-fullwidth is-paddingless is-marginless">
    <nav class="tabs" aria-label="tabs">
      <ul>
        <LinkTo
          @route="vault.cluster.access.oidc.clients.client.details"
          @model={{this.model}}
          data-test-oidc-client-details
        >
          Details
        </LinkTo>
        <LinkTo
          @route="vault.cluster.access.oidc.clients.client.providers"
          @model={{this.model}}
          data-test-oidc-client-providers
        >
          Available providers
        </LinkTo>
      </ul>
    </nav>
  </div>
{{/if}}

{{outlet}}