Add a triangle notification in the repo users list when a user is not part of the organization

This commit is contained in:
Joseph Schorr 2013-11-05 15:15:26 -05:00
parent 1f44166311
commit fa8b970d99
2 changed files with 15 additions and 10 deletions

View file

@ -975,19 +975,13 @@ p.editable:hover i {
width: 620px;
}
.repo-admin .user i {
.repo-admin .user i.fa-user {
margin-left: 2px;
margin-right: 7px;
color: rgb(79, 195, 79);
}
.repo-admin .user.outside i {
color: rgb(224, 173, 41);
}
.repo-admin .team i {
.repo-admin .team i.fa-group {
margin-right: 4px;
color: rgb(79, 195, 79);
}
.repo-admin .entity {
@ -995,11 +989,21 @@ p.editable:hover i {
min-width: 300px;
}
.repo-admin .entity .popover {
font-size: 14px;
}
.repo-admin .entity i.fa-exclamation-triangle {
color: #c09853;
float: right;
margin-right: 10px;
margin-top: 4px;
}
.repo-admin .token a {
cursor: pointer;
}
.repo .build-info {
padding: 10px;
margin: 0px;

View file

@ -31,7 +31,7 @@
<tr>
<td>User<span ng-show="repo.is_organization">/Team</span></td>
<td>Permissions</td>
<td></td>
<td style="width: 95px;"></td>
</tr>
</thead>
@ -57,6 +57,7 @@
<td class="{{ 'user entity ' + (permission.is_org_member ? '' : 'outside') }}">
<i class="fa fa-user"></i>
<span>{{name}}</span>
<i class="fa fa-exclamation-triangle" ng-show="!permission.is_org_member" data-trigger="hover" bs-popover="{'content': 'This user is not a member of the organization'}"></i>
</td>
<td class="user-permissions">
<div class="btn-group btn-group-sm">