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
cb06ea82
Commit
cb06ea82
authored
Jun 27, 2016
by
Rémy Coutable
Committed by
Valery Sizov
Jun 27, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix conflict in app/views/layouts/nav/_group_settings.html.haml
Signed-off-by:
Rémy Coutable
<
remy@rymai.me
>
parent
043d9ecf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
31 deletions
+13
-31
app/views/layouts/nav/_group_settings.html.haml
app/views/layouts/nav/_group_settings.html.haml
+13
-31
No files found.
app/views/layouts/nav/_group_settings.html.haml
View file @
cb06ea82
-
if
current_user
<
<<<<<<
HEAD
-
if
access
=
@group
.
users
.
find_by
(
id:
current_user
.
id
)
.controls
.dropdown.group-settings-dropdown
%a
.dropdown-new.btn.btn-default
#group-settings-button
{
href:
'#'
,
'data-toggle'
=>
'dropdown'
}
=
icon
(
'cog'
)
=
icon
(
'caret-down'
)
%ul
.dropdown-menu.dropdown-menu-align-right
-
if
can?
(
current_user
,
:admin_group
,
@group
)
=
nav_link
(
path:
'groups#projects'
)
do
=
link_to
projects_group_path
(
@group
),
title:
'Projects'
do
Projects
-
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
%span
Webhooks
=
nav_link
(
controller: :audit_events
)
do
=
link_to
group_audit_events_path
(
@group
),
title:
"Audit Events"
do
%span
Audit
Events
%li
.divider
%li
=
link_to
edit_group_path
(
@group
)
do
Edit
Group
==
=====
-
can_edit
=
can?
(
current_user
,
:admin_group
,
@group
)
-
member
=
@group
.
members
.
non_request
.
find_by
(
user_id:
current_user
.
id
)
-
can_leave
=
member
&&
can?
(
current_user
,
:destroy_group_member
,
member
)
...
...
@@ -43,6 +13,19 @@
=
link_to
'Projects'
,
projects_group_path
(
@group
),
title:
'Projects'
%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
%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
...
...
@@ -50,4 +33,3 @@
=
link_to
polymorphic_path
([
:leave
,
@group
,
:members
]),
data:
{
confirm:
leave_confirmation_message
(
@group
)
},
method: :delete
,
title:
'Leave group'
do
Leave Group
>
>>>>>> 0115ab7f403e7b25a7e66c3f4c309ddd5f37d657
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