mirror of
https://github.com/goharbor/harbor.git
synced 2025-02-02 04:51:22 +01:00
updates list project members username.
This commit is contained in:
parent
c4e3160711
commit
5187c7e1dc
@ -1,4 +1,4 @@
|
||||
<td style="padding: 15px;">user1</td>
|
||||
<td style="padding: 15px;">//vm.username//</td>
|
||||
<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})">
|
||||
|
@ -38,6 +38,7 @@
|
||||
'restrict': 'A',
|
||||
'templateUrl': '/static/ng/resources/js/components/project-member/edit-project-member.directive.html',
|
||||
'scope': {
|
||||
'username': '=',
|
||||
'userId': '=',
|
||||
'roleId': '='
|
||||
},
|
||||
|
@ -17,7 +17,7 @@
|
||||
<th width="30%">Username</th><th width="40%">Role</th><th width="30%">Operation</th>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr ng-repeat="pr in vm.projectMembers" edit-project-member user-id="pr.id" role-id="pr.roleId"></tr>
|
||||
<tr ng-repeat="pr in vm.projectMembers" edit-project-member username="pr.username" user-id="pr.id" role-id="pr.roleId"></tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user