2018-10-19 15:17:02 +00:00
|
|
|
{{yield}}
|
|
|
|
{{#if (gt items.length 0)}}
|
2020-03-06 14:10:34 +00:00
|
|
|
<TabularCollection
|
2018-10-19 15:17:02 +00:00
|
|
|
data-test-tokens
|
2020-03-06 14:10:34 +00:00
|
|
|
class="token-list"
|
|
|
|
@rows={{5}}
|
|
|
|
@items={{sort-by 'AccessorID:asc' items}} as |item index|
|
|
|
|
>
|
2018-10-19 15:17:02 +00:00
|
|
|
{{#if caption}}
|
2020-02-19 19:26:38 +00:00
|
|
|
<BlockSlot @name="caption">{{caption}}</BlockSlot>
|
2018-10-19 15:17:02 +00:00
|
|
|
{{/if}}
|
2020-02-19 19:26:38 +00:00
|
|
|
<BlockSlot @name="header">
|
2018-10-19 15:17:02 +00:00
|
|
|
<th>AccessorID</th>
|
|
|
|
<th>Scope</th>
|
|
|
|
<th>Description</th>
|
2020-02-19 19:26:38 +00:00
|
|
|
</BlockSlot>
|
|
|
|
<BlockSlot @name="row">
|
2020-03-06 14:10:34 +00:00
|
|
|
<td data-test-token={{item.AccessorID}}>
|
2018-10-19 15:17:02 +00:00
|
|
|
<a href={{href-to 'dc.acls.tokens.edit' item.AccessorID}} target={{or target ''}}>{{truncate item.AccessorID 8 false}}</a>
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
{{if item.Local 'local' 'global'}}
|
|
|
|
</td>
|
|
|
|
<td>
|
2019-06-14 17:27:37 +00:00
|
|
|
<p>{{item.Description}}</p>
|
2018-10-19 15:17:02 +00:00
|
|
|
</td>
|
2020-02-19 19:26:38 +00:00
|
|
|
</BlockSlot>
|
2020-03-06 14:10:34 +00:00
|
|
|
</TabularCollection>
|
2018-10-19 15:17:02 +00:00
|
|
|
{{/if}}
|