2013-12-18 03:56:28 +00:00
|
|
|
<div class="resource-view" resource="orgResource" error-message="'No matching organization'">
|
|
|
|
<div class="team-view container">
|
|
|
|
<div class="organization-header" organization="organization" team-name="teamname"></div>
|
|
|
|
|
|
|
|
<div class="resource-view" resource="membersResource" error-message="'No matching team found'">
|
|
|
|
<div class="description markdown-input" content="team.description" can-write="organization.is_admin"
|
|
|
|
content-changed="updateForDescription" field-title="'team description'"></div>
|
2013-11-05 01:17:58 +00:00
|
|
|
|
2013-12-18 03:56:28 +00:00
|
|
|
<div class="panel panel-default">
|
|
|
|
<div class="panel-heading">Team Members
|
|
|
|
<i class="info-icon fa fa-info-circle" data-placement="left" data-content="Users that inherit all permissions delegated to this team"></i>
|
|
|
|
</div>
|
|
|
|
<div class="panel-body">
|
|
|
|
<table class="permissions">
|
|
|
|
<tr ng-repeat="(name, member) in members">
|
|
|
|
<td class="user entity">
|
2014-01-21 21:23:00 +00:00
|
|
|
<span class="entity-reference" entity="member" namespace="organization.name"></span>
|
2014-08-15 21:47:43 +00:00
|
|
|
{{ member.invited }}
|
2013-12-18 03:56:28 +00:00
|
|
|
</td>
|
|
|
|
<td>
|
2014-03-12 04:49:46 +00:00
|
|
|
<span class="delete-ui" delete-title="'Remove User From Team'" button-title="'Remove'"
|
|
|
|
perform-delete="removeMember(member.name)" ng-if="canEditMembers"></span>
|
2013-12-18 03:56:28 +00:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr ng-show="canEditMembers">
|
2014-07-18 17:45:08 +00:00
|
|
|
<td colspan="3">
|
|
|
|
<div class="entity-search" style="width: 100%"
|
2014-08-08 17:50:04 +00:00
|
|
|
namespace="orgname" placeholder="'Add a registered user or robot...'"
|
2014-07-18 17:45:08 +00:00
|
|
|
entity-selected="addNewMember(entity)"
|
|
|
|
current-entity="selectedMember"
|
|
|
|
auto-clear="true"
|
|
|
|
allowed-entities="['user', 'robot']"></div>
|
2013-12-18 03:56:28 +00:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
</div>
|
2013-11-04 19:56:54 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2013-11-04 21:21:49 +00:00
|
|
|
</div>
|
2013-11-04 19:56:54 +00:00
|
|
|
|
2013-11-05 01:17:58 +00:00
|
|
|
<!-- Modal message dialog -->
|
|
|
|
<div class="modal fade" id="cannotChangeTeamModal">
|
|
|
|
<div class="modal-dialog">
|
|
|
|
<div class="modal-content">
|
|
|
|
<div class="modal-header">
|
|
|
|
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
|
|
|
<h4 class="modal-title">Cannot change team</h4>
|
|
|
|
</div>
|
|
|
|
<div class="modal-body">
|
|
|
|
You do not have permission to change properties of this team.
|
|
|
|
</div>
|
|
|
|
<div class="modal-footer">
|
|
|
|
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
|
|
|
|
</div>
|
|
|
|
</div><!-- /.modal-content -->
|
|
|
|
</div><!-- /.modal-dialog -->
|
|
|
|
</div><!-- /.modal -->
|
|
|
|
|
2013-11-04 21:21:49 +00:00
|
|
|
<!-- Modal message dialog -->
|
|
|
|
<div class="modal fade" id="cannotChangeMembersModal">
|
|
|
|
<div class="modal-dialog">
|
|
|
|
<div class="modal-content">
|
|
|
|
<div class="modal-header">
|
|
|
|
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
|
|
|
<h4 class="modal-title">Cannot change members</h4>
|
|
|
|
</div>
|
|
|
|
<div class="modal-body">
|
|
|
|
You do not have permission to change the members of this team.
|
|
|
|
</div>
|
|
|
|
<div class="modal-footer">
|
|
|
|
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
|
|
|
|
</div>
|
|
|
|
</div><!-- /.modal-content -->
|
|
|
|
</div><!-- /.modal-dialog -->
|
|
|
|
</div><!-- /.modal -->
|