summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
Diffstat (limited to 'app/views')
-rw-r--r--app/views/groups/group_members/_ldap_sync.html.haml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/groups/group_members/_ldap_sync.html.haml b/app/views/groups/group_members/_ldap_sync.html.haml
index d68ffe18075..7b0b238b42d 100644
--- a/app/views/groups/group_members/_ldap_sync.html.haml
+++ b/app/views/groups/group_members/_ldap_sync.html.haml
@@ -5,8 +5,8 @@
%ul
- @group.ldap_group_links.each do |ldap_group_link|
%li
- People in cn
- %code= ldap_group_link.cn
+ People in
+ %code= ldap_group_link.cn ? "cn: #{ldap_group_link.cn}" : "filter: #{truncate(ldap_group_link.filter, length: 70)}"
are given
%code= ldap_group_link.human_access
access.