{{#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" htmlSafe=true }} {{t "routes.dc.services.instance.upstreams.tproxy-mode.footer" htmlSafe=true }}
{{/if}} {{t "routes.dc.services.instance.upstreams.empty" items=items.length htmlSafe=true }} {{/let}}