From fc16223c8159a9e83cfb95174a8973dc780c9d29 Mon Sep 17 00:00:00 2001 From: Dmitriy Zaporozhets Date: Tue, 12 Aug 2014 10:33:27 +0300 Subject: [PATCH] Show group ldap settings on admin/group page Signed-off-by: Dmitriy Zaporozhets --- app/views/admin/groups/show.html.haml | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/app/views/admin/groups/show.html.haml b/app/views/admin/groups/show.html.haml index a662984969..20bbd29613 100644 --- a/app/views/admin/groups/show.html.haml +++ b/app/views/admin/groups/show.html.haml @@ -31,6 +31,17 @@ %strong = @group.created_at.stamp("March 1, 1999") + - if @group.ldap_cn.present? + %li + %span.light LDAP group cn: + %strong + = @group.ldap_cn + + %li + %span.light LDAP access level: + %strong + = @group.human_ldap_access + .panel.panel-default .panel-heading %h3.panel-title @@ -50,11 +61,11 @@ = paginate @projects, param_name: 'projects_page', theme: 'gitlab' - if @group.shared_projects.any? - .ui-box - .title + .panel.panel-default + .panel-heading Projects shared with #{@group.name} - %small - (#{@group.shared_projects.count}) + %span.badge + #{@group.shared_projects.count} %ul.well-list - @group.shared_projects.sort_by(&:name).each do |project| %li