Support multiple LDAP groups on group members page

This commit is contained in:
Jan-Willem van der Meer
2014-08-14 18:03:30 +02:00
parent e519963876
commit fec68cedac
+14 -4
View File
@@ -28,14 +28,24 @@
.js-toggle-content.hide.new-group-member-holder
= render "new_group_member"
- if ldap_enabled? && @group.ldap_cn.present?
- if ldap_enabled? && @group.ldap_group_links.any?
.bs-callout.bs-callout-info
The members of this group are synced with the LDAP group with cn
The members of this group are sync with LDAP.
%ul
- @group.ldap_group_links.each do |ldap_group_link|
%li
People in cn
%code= ldap_group_link.cn
are given
%code= ldap_group_link.human_access
access.
-#
The members of this group are synced with the LDAP group with cn
%code #{@group.ldap_cn}
\. They are given
\. They are given
%code #{@group.human_ldap_access}
access.
.panel.panel-default.prepend-top-20
.panel-heading
%strong #{@group.name}