2 af-api4=
"['OAuthClient', 'get', {select: ['id','provider','guid'], orderBy: {provider:'ASC'}}]"
3 af-api4-ctrl=
"listCtrl">
5 <div ng-if=
"apiData.result.length == 0">
6 {{ts('There are no clients!')}}
13 <th>{{ts('Provider')}}
</th>
14 <th>{{ts('GUID')}}
</th>
19 <tr ng-repeat=
"availClient in listCtrl.result">
21 <a ng-href=
"#!/?id={{availClient.id}}">{{availClient.id}}
</a>
23 <td>{{availClient.provider}}
</td>
24 <td>{{availClient.guid}}
</td>
27 <a af-api4-action="['Afform', 'revert', {where: [['name','=', availClient.name]]}]"
28 af-api4-start-msg="ts('Reverting...')"
29 af-api4-success-msg="ts('Reverted')"
30 af-api4-success="listCtrl.refresh()"
31 class="btn btn-xs btn-default"
32 ng-if="availClient.has_local && availClient.has_base"
35 <a af-api4-action=
"['OAuthClient', 'delete', {where: [['id','=', availClient.id]]}]"
36 af-api4-start-msg=
"ts('Deleting...')"
37 af-api4-success-msg=
"ts('Deleted')"
38 af-api4-success=
"listCtrl.refresh()"
39 class=
"btn btn-xs btn-default"