{{title item.Service.Service}} {{#app-view class="service show"}} {{#block-slot name='notification' as |status type|}} {{partial 'dc/services/notifications'}} {{/block-slot}} {{#block-slot name='breadcrumbs'}}
  1. All Services
{{/block-slot}} {{#block-slot name='header'}}

{{item.Service.Service}} {{#let (service/external-source item.Service) as |externalSource| }} {{#if externalSource }} Registered via {{externalSource}} {{/if}} {{/let}} {{#if (eq item.Service.Kind 'connect-proxy')}} Proxy {{else if (eq item.Service.Kind 'mesh-gateway')}} Mesh Gateway {{/if}}

{{tab-nav items=(compact (array 'Instances' (if (not-eq chain null) 'Routing' '') 'Tags' ) ) selected=selectedTab }} {{/block-slot}} {{#block-slot name='actions'}} {{#if urls.service}} {{#templated-anchor data-test-dashboard-anchor href=urls.service vars=(hash Datacenter=dc Service=(hash Name=item.Service.Service)) rel="external"}}Open Dashboard{{/templated-anchor}} {{/if}} {{/block-slot}} {{#block-slot name='content'}} {{#each (compact (array (hash id=(slugify 'Instances') partial='dc/services/instances') (if (not-eq chain null) (hash id=(slugify 'Routing') partial='dc/services/routing') '') (hash id=(slugify 'Tags') partial='dc/services/tags') ) ) key="id" as |panel| }} {{#tab-section id=panel.id selected=(eq (if selectedTab selectedTab '') panel.id) onchange=(action 'change')}} {{partial panel.partial}} {{/tab-section}} {{/each}} {{/block-slot}} {{/app-view}}