<:status as |search|>
{{#let
(t
(concat 'components.consul.auth-method.search-bar.' search.status.key '.name')
default=(array
(concat 'common.search.' search.status.key) (concat 'common.consul.' search.status.key)
)
)
(t
(concat
'components.consul.auth-method.search-bar.'
search.status.key
'.options.'
search.status.value
)
default=(array
(concat 'common.search.' search.status.value)
(concat 'common.consul.' search.status.value)
(concat 'common.brand.' search.status.value)
)
)
as |key value|
}}
- {{key}}
- {{value}}
{{/let}}
<:search as |search|>
{{t 'common.search.searchproperty'}}
{{#let components.Optgroup components.Option as |Optgroup Option|}}
{{#each @filter.searchproperty.default as |prop|}}
{{/each}}
{{/let}}
<:filter as |search|>
{{t 'components.consul.auth-method.search-bar.kind.name'}}
{{#let components.Optgroup components.Option as |Optgroup Option|}}
{{#if (env 'CONSUL_SSO_ENABLED')}}
{{/if}}
{{/let}}
{{t 'components.consul.auth-method.search-bar.locality.name'}}
{{#let components.Optgroup components.Option as |Optgroup Option|}}
{{#each (array 'local' 'global') as |option|}}
{{/each}}
{{/let}}
<:sort as |search|>
{{#let
(from-entries
(array
(array 'MethodName:asc' (t 'common.sort.alpha.asc'))
(array 'MethodName:desc' (t 'common.sort.alpha.desc'))
(array 'TokenTTL:desc' (t 'common.sort.duration.asc'))
(array 'TokenTTL:asc' (t 'common.sort.duration.desc'))
)
)
as |selectable|
}}
{{get selectable @sort.value}}
{{/let}}
{{#let components.Optgroup components.Option as |Optgroup Option|}}
{{/let}}