Render correct layout, css fix empty state of ldap links

Fixes #157
parent 5238efd8
...@@ -2,6 +2,8 @@ class Groups::LdapGroupLinksController < ApplicationController ...@@ -2,6 +2,8 @@ class Groups::LdapGroupLinksController < ApplicationController
before_action :group before_action :group
before_action :authorize_admin_group! before_action :authorize_admin_group!
layout 'group'
def index def index
end end
......
...@@ -8,4 +8,5 @@ ...@@ -8,4 +8,5 @@
%ul.well-list %ul.well-list
= render collection: group.ldap_group_links, partial: 'ldap_group_links/ldap_group_link', locals: { group: group } = render collection: group.ldap_group_links, partial: 'ldap_group_links/ldap_group_link', locals: { group: group }
- else - else
%p No linked LDAP groups .panel-body
No linked LDAP groups
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