Change naming of multi-LDAP to linked LDAP groups

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