Commit 1d1795fe authored by Alejandro Rodríguez's avatar Alejandro Rodríguez

Merge fixes after ce-upstream update

parent 4f0a19f4
...@@ -16,24 +16,24 @@ ...@@ -16,24 +16,24 @@
= link_to 'Projects', projects_group_path(@group), title: 'Projects' = link_to 'Projects', projects_group_path(@group), title: 'Projects'
- if (can_edit || can_leave) && can_admin_group - if (can_edit || can_leave) && can_admin_group
%li.divider %li.divider
- if can_edit - if can_edit
- if ldap_enabled? - if ldap_enabled?
= nav_link(controller: :ldap_group_links) do = nav_link(controller: :ldap_group_links) do
= link_to group_ldap_group_links_path(@group), title: "LDAP Groups" do = link_to group_ldap_group_links_path(@group), title: "LDAP Groups" do
%span
LDAP Groups
= nav_link(controller: :hooks) do
= link_to group_hooks_path(@group), title: "Webhooks" do
%span %span
Webhooks LDAP Groups
= nav_link(controller: :audit_events) do = nav_link(controller: :hooks) do
= link_to group_audit_events_path(@group), title: "Audit Events" do = link_to group_hooks_path(@group), title: "Webhooks" do
%span %span
Audit Events Webhooks
%li = nav_link(controller: :audit_events) do
= link_to 'Edit Group', edit_group_path(@group) = link_to group_audit_events_path(@group), title: "Audit Events" do
- if can_leave %span
%li Audit Events
= link_to polymorphic_path([:leave, @group, :members]), %li
data: { confirm: leave_confirmation_message(@group) }, method: :delete, title: 'Leave group' do = link_to 'Edit Group', edit_group_path(@group)
Leave Group - if can_leave
%li
= link_to polymorphic_path([:leave, @group, :members]),
data: { confirm: leave_confirmation_message(@group) }, method: :delete, title: 'Leave group' do
Leave Group
...@@ -133,7 +133,6 @@ describe Projects::MergeRequestsController do ...@@ -133,7 +133,6 @@ describe Projects::MergeRequestsController do
id: merge_request.iid, id: merge_request.iid,
format: 'html' format: 'html'
expect(assigns(:labels)).not_to be_nil expect(assigns(:labels)).not_to be_nil
>>>>>>> ce/master
end end
end end
......
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