Only show group count to not break layout and allow quickedit

This commit is contained in:
Johannes Zellner
2016-02-26 00:01:25 +01:00
parent 5cd1c7d714
commit bae0d728b3

View File

@@ -233,7 +233,7 @@
<tr>
<th style="width: 1px;"></th>
<th style="">User</th>
<th style="width: 1px" class="text-right">Groups</th>
<th style="width: 1px" class="text-center">Groups</th>
<th style="width: 150px" class="text-right">Actions</th>
</tr>
</thead>
@@ -242,12 +242,12 @@
<td>
<i class="fa fa-briefcase" ng-show="user.admin" data-toggle="tooltip" title="Superuser" ng-init="initTooltip()"></i>
</td>
<td class="text-overflow: ellipsis; white-space: nowrap;">
<td style="text-overflow: ellipsis; white-space: nowrap;" class="hand" ng-click="showUserEdit(user)">
{{ user.username }}
<span class="text-muted">{{ user.email }}</span>
</td>
<td class="text-right">
<span ng-repeat="groupId in user.groupIds | ignoreAdminGroup" class="label label-default">{{ groupId }}</span>
<td class="text-center hand" ng-click="showUserEdit(user)">
{{ user.groupIds.length }}
</td>
<td class="text-right" style="vertical-align: bottom">
<button ng-show="!isMe(user)" class="btn btn-xs btn-default" ng-click="sendInvite(user)" title="Send Invite"><i class="fa fa-paper-plane-o"></i></button>