{{#let (hash value=(or sortBy "DestinationName:asc") change=(action (mut sortBy) value="target.selected") ) (hash searchproperty=(hash value=(if (not-eq searchproperty undefined) (split searchproperty ',') searchProperties ) change=(action (mut searchproperty) value="target.selectedItems") default=searchProperties ) ) (or route.params.partition route.model.user.token.Partition 'default') (or route.params.nspace route.model.user.token.Namespace 'default') route.params.dc route.model.proxy route.model.meta route.model.proxy.Service.Proxy.Upstreams as |sort filters partition nspace dc proxy meta items|}} {{#if (gt items.length 0)}} {{/if}} {{! TODO: Looks like we can get this straight from item.Proxy.Mode }} {{! the less we need `proxy` and `meta` the better }} {{#if (eq meta.ServiceProxy.Mode 'transparent')}}

{{t "routes.dc.services.instance.upstreams.tproxy-mode.header"}}

{{t "routes.dc.services.instance.upstreams.tproxy-mode.body"}}

{{t "routes.dc.services.instance.upstreams.tproxy-mode.footer"}}

{{/if}}

This service has no upstreams{{#if (gt items.length 0)}} matching that search{{/if}}.

{{/let}}