{{title 'Intentions'}} {{#app-view class="intention list"}} {{#block-slot name='notification' as |status type|}} {{partial 'dc/intentions/notifications'}} {{/block-slot}} {{#block-slot name='header'}}

Intentions {{format-number items.length}} total

{{/block-slot}} {{#block-slot name='actions'}} Create {{/block-slot}} {{#block-slot name='toolbar'}} {{#if (gt items.length 0) }} {{intention-filter searchable=searchable filters=actionFilters search=filters.s type=filters.action onchange=(action 'filter')}} {{/if}} {{/block-slot}} {{#block-slot name='content'}} {{#changeable-set dispatcher=searchable}} {{#block-slot name='set' as |filtered|}} {{#tabular-collection route='dc.intentions.edit' key='SourceName' items=filtered as |item index| }} {{#block-slot name='header'}} Source   Destination Precedence {{/block-slot}} {{#block-slot name='row'}} {{#if (eq item.SourceName '*') }} All Services (*) {{else}} {{item.SourceName}} {{/if}} {{! TODO: slugify }} {{or item.SourceNS 'default'}} {{item.Action}} {{#if (eq item.DestinationName '*') }} All Services (*) {{else}} {{item.DestinationName}} {{/if}} {{! TODO: slugify }} {{or item.DestinationNS 'default'}} {{item.Precedence}} {{/block-slot}} {{#block-slot name='actions' as |index change checked|}} {{#popover-menu expanded=(if (eq checked index) true false) onchange=(action change index) keyboardAccess=false}} {{#block-slot name='trigger'}} More {{/block-slot}} {{#block-slot name='menu' as |confirm send keypressClick|}}
  • Edit
  • Confirm Delete

    Are you sure you want to delete this intention?

  • {{/block-slot}} {{/popover-menu}} {{/block-slot}} {{/tabular-collection}} {{/block-slot}} {{#block-slot name='empty'}}

    There are no intentions.

    {{/block-slot}} {{/changeable-set}} {{/block-slot}} {{/app-view}}