2016-04-21 12:19:51 +02:00
|
|
|
<td style="padding: 15px;">user1</td>
|
2016-04-21 07:12:18 +02:00
|
|
|
<td><switch-roles roles="vm.roles" edit-mode="vm.editMode" user-id="vm.userId" role-id="vm.roleId"></switch-roles></td>
|
|
|
|
<td>
|
|
|
|
<a href="javascript:;" ng-click="vm.update({roleId: vm.roleId})">
|
2016-04-21 12:19:51 +02:00
|
|
|
<span ng-if="!vm.editMode" class="glyphicon glyphicon-pencil"></span><span ng-if="vm.editMode" class="glyphicon glyphicon-ok"></span>
|
2016-04-21 07:12:18 +02:00
|
|
|
</ng-switch>
|
|
|
|
</a>
|
|
|
|
<a href="#"><span class="glyphicon glyphicon-trash"></span></a>
|
|
|
|
</td>
|