Merge pull request #2049 from stianst/KEYCLOAK-2160

KEYCLOAK-2160 Add id to user table
This commit is contained in:
Stian Thorgersen 2016-01-18 20:42:21 +01:00
commit 594c1451c0

View file

@ -5,7 +5,7 @@
<caption data-ng-show="users" class="hidden">Table of realm users</caption>
<thead>
<tr>
<th colspan="{{access.impersonation == true ? '7' : '6'}}">
<th colspan="{{access.impersonation == true ? '8' : '7'}}">
<div class="form-inline">
<div class="form-group">
<div class="input-group">
@ -26,10 +26,11 @@
</tr>
<tr>
<tr data-ng-show="searchLoaded && users.length > 0">
<th>ID</th>
<th>Username</th>
<th>Email</th>
<th>Last Name</th>
<th>First Name</th>
<th>Email</th>
<th colspan="{{access.impersonation == true ? '3' : '2'}}">Actions</th>
</tr>
</tr>
@ -47,10 +48,11 @@
</tfoot>
<tbody>
<tr ng-repeat="user in users">
<td><a href="#/realms/{{realm.realm}}/users/{{user.id}}">{{user.username}}</a></td>
<td style="max-width: 10em;"><a href="#/realms/{{realm.realm}}/users/{{user.id}}">{{user.id}}</a></td>
<td>{{user.username}}</td>
<td>{{user.email}}</td>
<td>{{user.lastName}}</td>
<td>{{user.firstName}}</td>
<td>{{user.email}}</td>
<td class="kc-action-cell">
<button class="btn btn-default btn-block btn-sm" kc-open="/realms/{{realm.realm}}/users/{{user.id}}">Edit</button>
</td>