{{#if model}} {{#each model as |k|}} {{/each}}
{{i18n 'admin.api.key'}} {{i18n 'admin.api.user'}}  
{{k.key}} {{#if k.user}} {{#link-to 'adminUser' k.user}} {{avatar k.user imageSize="small"}} {{/link-to}} {{else}} {{i18n 'admin.api.all_users'}} {{/if}} {{d-button class="btn-default" action="regenerateKey" actionParam=k icon="undo" label='admin.api.regenerate'}} {{d-button class="btn-default" action="revokeKey" actionParam=k icon="times" label='admin.api.revoke'}}
{{else}}

{{i18n 'admin.api.none'}}

{{/if}} {{#unless hasMasterKey}} {{/unless}}