{{!
  Copyright (c) HashiCorp, Inc.
  SPDX-License-Identifier: BUSL-1.1
}}

{{#if this.isVisible}}
  <Hds::Alert @type="inline" class='mb-3 mt-2 agentless-node-notice' data-test-node-agentless-notice as |A|>
    <A.Title>
      <span>{{t 'routes.dc.nodes.index.agentless.notice.header'}}</span>
      <Hds::Button
        @color='secondary'
        @text='Dismiss notice'
        {{on 'click' this.dismissAgentlessNotice}}
        @icon='x'
        @size='small'
        @isIconOnly={{true}}
      />
    </A.Title>
    <A.Description>{{t 'routes.dc.nodes.index.agentless.notice.body'}}</A.Description>
    <A.Link::Standalone @href='{{env "CONSUL_DOCS_DEVELOPER_URL"}}/connect/dataplane'
                        @text={{t 'routes.dc.nodes.index.agentless.notice.footer'}}
                        @icon='docs-link'
                        @iconPosition='trailing' />
  </Hds::Alert>
{{/if}}
