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}}
|
|
|
|
<EmptyState @login={{route.model.app.login.open}}>
|
|
|
|
<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">
|
|
|
|
<li class="docs-link">
|
|
|
|
<a
|
|
|
|
href="{{env 'CONSUL_DOCS_URL'}}/connect/cluster-peering"
|
|
|
|
rel="noopener noreferrer"
|
|
|
|
target="_blank"
|
|
|
|
>
|
|
|
|
Documentation on Peers
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="learn-link">
|
|
|
|
<a
|
|
|
|
href="{{env
|
|
|
|
'CONSUL_DOCS_URL'
|
|
|
|
}}/connect/cluster-peering/create-manage-peering"
|
|
|
|
rel="noopener noreferrer"
|
|
|
|
target="_blank"
|
|
|
|
>
|
|
|
|
Take the tutorial
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
</BlockSlot>
|
|
|
|
</EmptyState>
|
|
|
|
{{/if}}
|
|
|
|
</Route>
|