open-consul/ui/packages/consul-ui/app/components/consul/node/agentless-notice/index.hbs

21 lines
818 B
Handlebars

{{#if isVisible}}
<Hds::Alert @type="inline" class='mb-3 mt-2' class='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}}