|
|
@@ -52,7 +52,7 @@ ${ layout.menubar(section='organizations') }
|
|
|
<%def name="creation()">
|
|
|
%if is_admin(user):
|
|
|
<a id="addGroupBtn" href="${url('useradmin.views.edit_group')}" class="btn"><i
|
|
|
- class="fa fa-plus-circle"></i> ${_('Add group')}</a>
|
|
|
+ class="fa fa-plus-circle"></i> ${_('Add organization')}</a>
|
|
|
% if is_ldap_setup:
|
|
|
<a id="addLdapGroupBtn" href="${url('useradmin.views.add_ldap_groups')}" class="btn"><i
|
|
|
class="fa fa-refresh"></i> ${_('Add/Sync LDAP group')}</a>
|
|
|
@@ -73,9 +73,9 @@ ${ layout.menubar(section='organizations') }
|
|
|
<div class="select-all hue-checkbox fa"></div>
|
|
|
</th>
|
|
|
%endif
|
|
|
- <th>${_('Group Name')}</th>
|
|
|
+ <th>${_('Organization Name')}</th>
|
|
|
<th>${_('Members')}</th>
|
|
|
- <th>${_('Permissions')}</th>
|
|
|
+ <th>${_('Group & Permissions Counts')}</th>
|
|
|
</tr>
|
|
|
</thead>
|
|
|
<tbody>
|
|
|
@@ -88,17 +88,7 @@ ${ layout.menubar(section='organizations') }
|
|
|
</td>
|
|
|
% endif
|
|
|
<td>
|
|
|
- % if is_admin(user):
|
|
|
- <strong>
|
|
|
- <a title="${ _('Edit %(groupname)s') % dict(groupname=group.name) }"
|
|
|
- href="${ url('useradmin.views.edit_group', name=group.name) }"
|
|
|
- data-row-selector="true">
|
|
|
- ${group.name}
|
|
|
- </a>
|
|
|
- </strong>
|
|
|
- % else:
|
|
|
- <strong>${group.name}</strong>
|
|
|
- % endif
|
|
|
+ <strong>${ group.name }</strong>
|
|
|
</td>
|
|
|
<td>${ ', '.join([group_user.username for group_user in group.organizationuser_set.all()]) }</td>
|
|
|
<td>${ group.organizationgroup_set.count() } ${ group.huepermission_set.count() }</td>
|