2013-11-04 19:56:54 +00:00
|
|
|
<div class="loading" ng-show="loading">
|
|
|
|
<i class="fa fa-spinner fa-spin fa-3x"></i>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="loading" ng-show="!loading && !organization">
|
|
|
|
No matching team found
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="team-view container" ng-show="!loading && organization">
|
|
|
|
<div class="organization-header" organization="organization" team-name="teamname"></div>
|
|
|
|
|
2013-11-05 01:17:58 +00:00
|
|
|
<div class="description markdown-input" content="team.description" can-write="organization.is_admin"
|
|
|
|
content-changed="updateForDescription" field-title="'team description'"></div>
|
|
|
|
|
2013-11-04 19:56:54 +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">
|
2013-11-04 20:31:38 +00:00
|
|
|
<table class="permissions">
|
|
|
|
<tr ng-repeat="(name, member) in members">
|
2013-11-04 19:56:54 +00:00
|
|
|
<td class="user entity">
|
2013-11-26 19:37:55 +00:00
|
|
|
<span class="entity-reference" name="member.username" isrobot="member.is_robot"></span>
|
2013-11-04 19:56:54 +00:00
|
|
|
</td>
|
|
|
|
<td>
|
2013-11-04 21:21:49 +00:00
|
|
|
<span class="delete-ui" tabindex="0" title="Remove User" ng-show="canEditMembers">
|
2013-11-04 19:56:54 +00:00
|
|
|
<span class="delete-ui-button" ng-click="removeMember(member.username)"><button class="btn btn-danger">Remove</button></span>
|
2013-11-04 20:31:38 +00:00
|
|
|
<i class="fa fa-times"></i>
|
2013-11-04 19:56:54 +00:00
|
|
|
</span>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
2013-11-04 21:21:49 +00:00
|
|
|
<tr ng-show="canEditMembers">
|
2013-11-04 19:56:54 +00:00
|
|
|
<td colspan="2">
|
2013-12-10 06:38:05 +00:00
|
|
|
<span class="entity-search" namespace="orgname" include-teams="false" input-title="'Add a user...'"
|
|
|
|
entity-selected="addNewMember" is-organization="true"></span>
|
2013-11-04 19:56:54 +00:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
</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 -->
|