{{title 'Intentions'}} {{#let (selectable-key-values (array "Action:asc" "Allow to Deny") (array "Action:desc" "Deny to Allow") (array "SourceName:asc" "Source: A to Z") (array "SourceName:desc" "Source: Z to A") (array "DestinationName:asc" "Destination: A to Z") (array "DestinationName:desc" "Destination: Z to A") (array "Precedence:asc" "Precedence: Asc") (array "Precedence:desc" "Precedence: Desc") selected=sortBy ) as |sort| }}

Intentions {{format-number api.data.length}} total

Create {{#if (gt api.data.length 0) }} {{/if}} {{#let (sort-by (comparator 'intention' sort.selected.key) api.data) as |sorted|}}

{{#if (gt api.data.length 0)}} No intentions found {{else}} Welcome to Intentions {{/if}}

{{#if (gt api.data.length 0)}} No intentions where found matching that search, or you may not have access to view the intentions you are searching for. {{else}} There don't seem to be any intentions, or you may not have access to view intentions yet. {{/if}}

{{/let}}
{{/let}}