Change naming of multi-LDAP to linked LDAP groups

parent 1c430a0b
...@@ -57,6 +57,6 @@ ...@@ -57,6 +57,6 @@
= link_to 'Cancel', admin_group_path(@group), class: "btn btn-cancel" = link_to 'Cancel', admin_group_path(@group), class: "btn btn-cancel"
- if @group.persisted? - if @group.persisted?
%h3.page-title LDAP Synchronizations %h3.page-title Linked LDAP groups
= render 'ldap_group_links/form', group: @group = render 'ldap_group_links/form', group: @group
= render 'ldap_group_links/ldap_group_links', group: @group = render 'ldap_group_links/ldap_group_links', group: @group
...@@ -32,8 +32,7 @@ ...@@ -32,8 +32,7 @@
= @group.created_at.stamp("March 1, 1999") = @group.created_at.stamp("March 1, 1999")
.panel.panel-default .panel.panel-default
.panel-heading .panel-heading Linked LDAP groups
LDAP Synchronizations
%ul.well-list %ul.well-list
- if @group.ldap_group_links.any? - if @group.ldap_group_links.any?
- @group.ldap_group_links.each do |ldap_group_link| - @group.ldap_group_links.each do |ldap_group_link|
......
...@@ -10,5 +10,5 @@ ...@@ -10,5 +10,5 @@
= nav_link(controller: :ldap_group_links) do = nav_link(controller: :ldap_group_links) do
= link_to group_ldap_group_links_path(@group) do = link_to group_ldap_group_links_path(@group) do
%i.icon-exchange %i.icon-exchange
LDAP Sync LDAP Groups
.row .row
.col-md-2= render 'groups/settings_nav' .col-md-2= render 'groups/settings_nav'
.col-md-10 .col-md-10
%h3.page-title LDAP Synchronizations %h3.page-title Linked LDAP groups
= render 'ldap_group_links/form', group: @group = render 'ldap_group_links/form', group: @group
= render 'ldap_group_links/ldap_group_links', group: @group = render 'ldap_group_links/ldap_group_links', group: @group
.panel.panel-default .panel.panel-default
.panel-heading .panel-heading
%h4.panel-title %h4.panel-title
LDAP Synchronizations Linked LDAP groups
== (#{group.ldap_group_links.count}) == (#{group.ldap_group_links.count})
- if group.ldap_group_links.any? - if group.ldap_group_links.any?
%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 synchronizations yet %p 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