2016-04-21 12:24:40 +02:00
|
|
|
<td style="padding: 15px;">//vm.username//</td>
|
2016-04-26 12:23:34 +02:00
|
|
|
<td><switch-role roles="vm.roles" edit-mode="vm.editMode" user-id="vm.userId" role-name="vm.roleName"></switch-role></td>
|
2016-04-21 07:12:18 +02:00
|
|
|
<td>
|
2016-05-04 12:42:05 +02:00
|
|
|
<a ng-show="vm.userId != vm.currentUserId" href="javascript:void(0);" ng-click="vm.updateProjectMember({projectId: vm.projectId, userId: vm.userId, roleId: vm.roleId})">
|
|
|
|
<span ng-if="!vm.editMode" class="glyphicon glyphicon-pencil" title="Edit"></span><span ng-if="vm.editMode" class="glyphicon glyphicon-ok" title="Confirm">
|
2016-04-21 07:12:18 +02:00
|
|
|
</a>
|
2016-05-04 12:42:05 +02:00
|
|
|
<a ng-show="vm.userId != vm.currentUserId" href="javascript:void(0);" ng-click="vm.cancelUpdate()" title="Cancel">
|
|
|
|
<span ng-if="vm.editMode" class="glyphicon glyphicon-repeat"></span>
|
|
|
|
</a>
|
2016-05-05 12:35:52 +02:00
|
|
|
<a ng-show="vm.userId != vm.currentUserId && !vm.editMode" href="javascript:void(0);" ng-click="vm.deleteProjectMember({projectId: vm.projectId, userId: vm.userId})" title="Delete"><span class="glyphicon glyphicon-trash"></span></a>
|
2016-04-21 07:12:18 +02:00
|
|
|
</td>
|