Add a triangle notification in the repo users list when a user is not part of the organization
This commit is contained in:
parent
1f44166311
commit
fa8b970d99
2 changed files with 15 additions and 10 deletions
|
@ -975,19 +975,13 @@ p.editable:hover i {
|
||||||
width: 620px;
|
width: 620px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.repo-admin .user i {
|
.repo-admin .user i.fa-user {
|
||||||
margin-left: 2px;
|
margin-left: 2px;
|
||||||
margin-right: 7px;
|
margin-right: 7px;
|
||||||
color: rgb(79, 195, 79);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.repo-admin .user.outside i {
|
.repo-admin .team i.fa-group {
|
||||||
color: rgb(224, 173, 41);
|
|
||||||
}
|
|
||||||
|
|
||||||
.repo-admin .team i {
|
|
||||||
margin-right: 4px;
|
margin-right: 4px;
|
||||||
color: rgb(79, 195, 79);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.repo-admin .entity {
|
.repo-admin .entity {
|
||||||
|
@ -995,11 +989,21 @@ p.editable:hover i {
|
||||||
min-width: 300px;
|
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 {
|
.repo-admin .token a {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.repo .build-info {
|
.repo .build-info {
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
margin: 0px;
|
margin: 0px;
|
||||||
|
|
|
@ -31,7 +31,7 @@
|
||||||
<tr>
|
<tr>
|
||||||
<td>User<span ng-show="repo.is_organization">/Team</span></td>
|
<td>User<span ng-show="repo.is_organization">/Team</span></td>
|
||||||
<td>Permissions</td>
|
<td>Permissions</td>
|
||||||
<td></td>
|
<td style="width: 95px;"></td>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
|
|
||||||
|
@ -57,6 +57,7 @@
|
||||||
<td class="{{ 'user entity ' + (permission.is_org_member ? '' : 'outside') }}">
|
<td class="{{ 'user entity ' + (permission.is_org_member ? '' : 'outside') }}">
|
||||||
<i class="fa fa-user"></i>
|
<i class="fa fa-user"></i>
|
||||||
<span>{{name}}</span>
|
<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>
|
||||||
<td class="user-permissions">
|
<td class="user-permissions">
|
||||||
<div class="btn-group btn-group-sm">
|
<div class="btn-group btn-group-sm">
|
||||||
|
|
Reference in a new issue