mirror of
https://github.com/semaphoreui/semaphore.git
synced 2025-01-22 16:20:44 +01:00
b4cab16fda
- Fixes #94 - Fixes admin permissions (needed to manipulate users)
19 lines
640 B
Plaintext
19 lines
640 B
Plaintext
h3 Team
|
|
button.btn.btn-success.pull-right.btn-xs(ng-click="addUser()") add team member
|
|
|
|
table.table
|
|
thead: tr
|
|
th Name
|
|
th Username
|
|
th Email
|
|
th Admin
|
|
tbody: tr(ng-repeat="u in users" ng-class="{ info: u.id == user.id }")
|
|
td {{ u.name }}
|
|
td {{ u.username }}
|
|
td {{ u.email }}
|
|
td
|
|
i.fa.fa-fw(ng-if="!project_user.admin" ng-class="{ 'fa-times': !u.admin, 'fa-check': u.admin }")
|
|
.btn-group(ng-if="project_user.admin")
|
|
button.btn.btn-xs.btn-default(ng-click="setAdmin(u)")
|
|
i.fa.fa-fw(ng-class="{ 'fa-times': !u.admin, 'fa-check': u.admin }")
|
|
button.btn.btn-danger.pull-right.btn-xs(ng-click="remove(u)") remove |