2020-04-08 17:09:36 +00:00
|
|
|
{{yield}}
|
2020-02-12 17:46:29 +00:00
|
|
|
{{#if (gt items.length 0)}}
|
2020-04-08 17:09:36 +00:00
|
|
|
<ListCollection @cellHeight={{73}} @items={{items}} class="consul-service-list" as |item index|>
|
2020-04-21 14:21:52 +00:00
|
|
|
<a href={{href-to routeName item.Name}} class={{service/health-checks item}}>
|
|
|
|
{{item.Name}}
|
2020-04-08 17:09:36 +00:00
|
|
|
</a>
|
2020-04-21 14:21:52 +00:00
|
|
|
<ul>
|
|
|
|
<ConsulExternalSource @item={{item}} as |ExternalSource|>
|
|
|
|
<li>
|
|
|
|
<ExternalSource />
|
|
|
|
</li>
|
|
|
|
</ConsulExternalSource>
|
|
|
|
{{#if (not-eq item.InstanceCount 0)}}
|
|
|
|
<li>
|
|
|
|
{{format-number item.InstanceCount}} {{pluralize item.InstanceCount 'Instance' without-count=true}}
|
|
|
|
</li>
|
|
|
|
{{/if}}
|
|
|
|
{{#if (get proxies item.Name)}}
|
|
|
|
<li class="proxy">
|
|
|
|
connected with proxy
|
|
|
|
</li>
|
|
|
|
{{/if}}
|
|
|
|
{{#if (gt items.Tags.length 0)}}
|
|
|
|
<li>
|
|
|
|
<TagList @items={{item.Tags}}/>
|
|
|
|
</li>
|
|
|
|
{{/if}}
|
|
|
|
</ul>
|
2020-04-08 17:09:36 +00:00
|
|
|
</ListCollection>
|
2020-02-12 17:46:29 +00:00
|
|
|
{{/if}}
|