github.com/outbrain/consul@v1.4.5/ui-v2/app/templates/components/token-list.hbs (about) 1 {{yield}} 2 {{#if (gt items.length 0)}} 3 {{#tabular-collection 4 data-test-tokens 5 items=(sort-by 'AccessorID:asc' items) as |item index| 6 }} 7 {{#if caption}} 8 {{#block-slot 'caption'}}{{caption}}{{/block-slot}} 9 {{/if}} 10 {{#block-slot 'header'}} 11 <th>AccessorID</th> 12 <th>Scope</th> 13 <th>Description</th> 14 {{/block-slot}} 15 {{#block-slot 'row'}} 16 <td data-test-token="{{item.AccessorID}}"> 17 <a href={{href-to 'dc.acls.tokens.edit' item.AccessorID}} target={{or target ''}}>{{truncate item.AccessorID 8 false}}</a> 18 </td> 19 <td> 20 {{if item.Local 'local' 'global'}} 21 </td> 22 <td> 23 {{item.Description}} 24 </td> 25 {{/block-slot}} 26 {{/tabular-collection}} 27 {{/if}}