{{#app-view class="intention list"}} {{#block-slot 'header'}}

Intentions

{{/block-slot}} {{#block-slot 'actions'}} Create {{/block-slot}} {{#block-slot 'toolbar'}} {{#if (gt items.length 0) }} {{intention-filter filters=actionFilters search=filters.s type=filters.action onchange=(action 'filter')}} {{/if}} {{/block-slot}} {{#block-slot 'content'}} {{#if (gt filtered.length 0) }} {{#tabular-collection route='dc.intentions.edit' key='SourceName' items=filtered as |item index| }} {{#block-slot 'header'}} Source   Destination Precedence {{/block-slot}} {{#block-slot 'row'}} {{item.SourceName}} {{item.Action}} {{item.DestinationName}} {{item.Precedence}} {{/block-slot}} {{#block-slot 'actions' as |index change checked|}} {{#confirmation-dialog confirming=false index=index message='Are you sure you want to delete this intention?'}} {{#block-slot 'action' as |confirm|}} {{#action-group index=index onchange=(action change) checked=(if (eq checked index) 'checked')}} {{/action-group}} {{/block-slot}} {{#block-slot 'dialog' as |execute cancel message|}}

{{message}}

{{/block-slot}} {{/confirmation-dialog}} {{/block-slot}} {{/tabular-collection}} {{else}}

There are no intentions.

{{/if}} {{/block-slot}} {{/app-view}}