2023-03-14 13:18:55 +00:00
|
|
|
{{!
|
|
|
|
Copyright (c) HashiCorp, Inc.
|
2023-08-11 13:12:13 +00:00
|
|
|
SPDX-License-Identifier: BUSL-1.1
|
2023-03-14 13:18:55 +00:00
|
|
|
}}
|
|
|
|
|
2022-10-10 09:12:50 +00:00
|
|
|
<Route @name={{routeName}} as |route|>
|
|
|
|
{{#if (gt route.model.items.length 0)}}
|
|
|
|
<Consul::Peer::Address::List @items={{route.model.items}} />
|
|
|
|
{{else}}
|
2022-10-13 13:42:25 +00:00
|
|
|
<EmptyState @login={{route.model.app.login.open}} data-test-addresses-empty>
|
2022-10-10 09:12:50 +00:00
|
|
|
<BlockSlot @name="header">
|
|
|
|
<h2>
|
2022-10-12 11:34:23 +00:00
|
|
|
{{t "routes.dc.peers.show.addresses.empty.header"}}
|
2022-10-10 09:12:50 +00:00
|
|
|
</h2>
|
|
|
|
</BlockSlot>
|
|
|
|
<BlockSlot @name="body">
|
2022-10-12 11:34:23 +00:00
|
|
|
{{t "routes.dc.peers.show.addresses.empty.body" htmlSafe=true}}
|
2022-10-10 09:12:50 +00:00
|
|
|
</BlockSlot>
|
|
|
|
<BlockSlot @name="actions">
|
2023-02-22 21:05:15 +00:00
|
|
|
<li>
|
|
|
|
<Hds::Link::Standalone
|
|
|
|
@text='Documentation on Peers'
|
|
|
|
@href="{{env
|
|
|
|
'CONSUL_DOCS_URL'
|
|
|
|
}}/connect/cluster-peering"
|
|
|
|
@icon='docs-link'
|
|
|
|
@iconPosition='trailing'
|
|
|
|
@size='small'
|
|
|
|
/>
|
2022-10-10 09:12:50 +00:00
|
|
|
</li>
|
2023-02-22 21:05:15 +00:00
|
|
|
<li>
|
|
|
|
<Hds::Link::Standalone
|
|
|
|
@text='Take the tutorial'
|
|
|
|
@href="{{env
|
2022-10-10 09:12:50 +00:00
|
|
|
'CONSUL_DOCS_URL'
|
|
|
|
}}/connect/cluster-peering/create-manage-peering"
|
2023-02-22 21:05:15 +00:00
|
|
|
@icon='learn-link'
|
|
|
|
@iconPosition='trailing'
|
|
|
|
@size='small'
|
|
|
|
/>
|
2022-10-10 09:12:50 +00:00
|
|
|
</li>
|
|
|
|
</BlockSlot>
|
|
|
|
</EmptyState>
|
|
|
|
{{/if}}
|
|
|
|
</Route>
|