{{#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 }} {{#with (service/external-source item.Service) as |externalSource| }} {{#with (css-var (concat '--' externalSource '-color-svg') 'none') as |bg| }} {{#if (not-eq bg 'none') }} Registered via {{externalSource}} {{/if}} {{/with}} {{/with}} {{#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' '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') (hash id=(slugify 'Routing') partial='dc/services/routing') (hash id=(slugify 'Tags') partial='dc/services/tags') ) ) 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}}