Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
1d1795fe
Commit
1d1795fe
authored
Nov 14, 2016
by
Alejandro Rodríguez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Merge fixes after ce-upstream update
parent
4f0a19f4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
21 deletions
+20
-21
app/views/layouts/nav/_group_settings.html.haml
app/views/layouts/nav/_group_settings.html.haml
+20
-20
spec/controllers/projects/merge_requests_controller_spec.rb
spec/controllers/projects/merge_requests_controller_spec.rb
+0
-1
No files found.
app/views/layouts/nav/_group_settings.html.haml
View file @
1d1795fe
...
...
@@ -16,24 +16,24 @@
=
link_to
'Projects'
,
projects_group_path
(
@group
),
title:
'Projects'
-
if
(
can_edit
||
can_leave
)
&&
can_admin_group
%li
.divider
-
if
can_edit
-
if
ldap_enabled?
=
nav_link
(
controller: :ldap_group_links
)
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
-
if
can_edit
-
if
ldap_enabled?
=
nav_link
(
controller: :ldap_group_links
)
do
=
link_to
group_ldap_group_links_path
(
@group
),
title:
"LDAP Groups"
do
%span
Webhooks
=
nav_link
(
controller: :audit_events
)
do
=
link_to
group_audit_events_path
(
@group
),
title:
"Audit Events"
do
%span
Audit Events
%li
=
link_to
'Edit Group'
,
edit_group_path
(
@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
LDAP Groups
=
nav_link
(
controller: :hooks
)
do
=
link_to
group_hooks_path
(
@group
),
title:
"Webhooks"
do
%span
Webhooks
=
nav_link
(
controller: :audit_events
)
do
=
link_to
group_audit_events_path
(
@group
),
title:
"Audit Events"
do
%span
Audit Events
%li
=
link_to
'Edit Group'
,
edit_group_path
(
@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
spec/controllers/projects/merge_requests_controller_spec.rb
View file @
1d1795fe
...
...
@@ -133,7 +133,6 @@ describe Projects::MergeRequestsController do
id:
merge_request
.
iid
,
format:
'html'
expect
(
assigns
(
:labels
)).
not_to
be_nil
>>>>>>>
ce
/
master
end
end
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment