Add multi-LDAP links to group details page

parent 08fda6a2
...@@ -31,16 +31,17 @@ ...@@ -31,16 +31,17 @@
%strong %strong
= @group.created_at.stamp("March 1, 1999") = @group.created_at.stamp("March 1, 1999")
- if @group.ldap_cn.present? .panel.panel-default
%li .panel-heading
%span.light LDAP group cn: LDAP Connections
%strong %ul.well-list
= @group.ldap_cn - if @group.ldap_group_links.any?
- @group.ldap_group_links.each do |ldap_group_link|
%li %li
%span.light LDAP access level: cn:
%strong %strong= ldap_group_link.cn
= @group.human_ldap_access as
%strong= ldap_group_link.human_access
.panel.panel-default .panel.panel-default
.panel-heading .panel-heading
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment