{{#if model}}
{{i18n 'admin.api.key'}} | {{i18n 'admin.api.user'}} | {{#each model as |k|}} |
---|---|---|
{{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=(action "regenerateKey") actionParam=k icon="undo" label='admin.api.regenerate'}} {{d-button class="btn-default" action=(action "revokeKey") actionParam=k icon="times" label='admin.api.revoke'}} |
{{i18n 'admin.api.none'}}
{{/if}} {{#unless hasMasterKey}} {{/unless}}