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
a607a11e
Commit
a607a11e
authored
May 12, 2016
by
Yorick Peterse
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Resolve conflict in group settings dropdown
parent
2cd370fb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
39 deletions
+16
-39
app/views/layouts/nav/_group_settings.html.haml
app/views/layouts/nav/_group_settings.html.haml
+16
-39
No files found.
app/views/layouts/nav/_group_settings.html.haml
View file @
a607a11e
<
<<<<<<
HEAD
%ul
.nav.nav-sidebar
=
nav_link
do
=
link_to
group_path
(
@group
),
title:
'Go to group'
,
class:
'back-link'
do
=
icon
(
'caret-square-o-left fw'
)
%span
Go
to
group
%li
.separate-item
%ul
.sidebar-subnav
=
nav_link
(
path:
'groups#edit'
)
do
=
link_to
edit_group_path
(
@group
),
title:
'Group Settings'
do
=
icon
(
'pencil-square-o fw'
)
%span
Group
Settings
=
nav_link
(
path:
'groups#projects'
)
do
=
link_to
projects_group_path
(
@group
),
title:
'Projects'
do
=
icon
(
'folder fw'
)
%span
Projects
-
if
ldap_enabled?
=
nav_link
(
controller: :ldap_group_links
)
do
=
link_to
group_ldap_group_links_path
(
@group
),
title:
"LDAP Groups"
do
%i
.fa.fa-exchange
%span
LDAP
Groups
=
nav_link
(
controller: :hooks
)
do
=
link_to
group_hooks_path
(
@group
),
title:
"Webhooks"
do
%i
.fa.fa-link
%span
Webhooks
=
nav_link
(
controller: :audit_events
)
do
=
link_to
group_audit_events_path
(
@group
),
title:
"Audit Events"
do
%i
.fa.fa-file-text-o
%span
Audit
Events
==
=====
-
if
current_user
-
if
current_user
-
if
access
=
@group
.
users
.
find_by
(
id:
current_user
.
id
)
-
if
access
=
@group
.
users
.
find_by
(
id:
current_user
.
id
)
.controls
.controls
...
@@ -52,8 +14,23 @@
...
@@ -52,8 +14,23 @@
%li
%li
=
link_to
edit_group_path
(
@group
)
do
=
link_to
edit_group_path
(
@group
)
do
Edit Group
Edit Group
-
if
ldap_enabled?
=
nav_link
(
controller: :ldap_group_links
)
do
=
link_to
group_ldap_group_links_path
(
@group
),
title:
"LDAP Groups"
do
%i
.fa.fa-exchange
%span
LDAP Groups
=
nav_link
(
controller: :hooks
)
do
=
link_to
group_hooks_path
(
@group
),
title:
"Webhooks"
do
%i
.fa.fa-link
%span
Webhooks
=
nav_link
(
controller: :audit_events
)
do
=
link_to
group_audit_events_path
(
@group
),
title:
"Audit Events"
do
%i
.fa.fa-file-text-o
%span
Audit Events
%li
%li
=
link_to
leave_group_group_members_path
(
@group
),
=
link_to
leave_group_group_members_path
(
@group
),
data:
{
confirm:
leave_group_message
(
@group
.
name
)
},
method: :delete
,
title:
'Leave group'
do
data:
{
confirm:
leave_group_message
(
@group
.
name
)
},
method: :delete
,
title:
'Leave group'
do
Leave Group
Leave Group
>
>>>>>> e77a9a342e175c7274350ef6d655bde496eca778
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