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
82a12913
Commit
82a12913
authored
Feb 07, 2018
by
Kushal Pandya
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add List and Roadmap sub-links under Epics
parent
9db2f02c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
4 deletions
+11
-4
ee/app/views/layouts/nav/ee/_epic_link.html.haml
ee/app/views/layouts/nav/ee/_epic_link.html.haml
+11
-4
No files found.
ee/app/views/layouts/nav/ee/_epic_link.html.haml
View file @
82a12913
-
return
unless
group
.
feature_available?
(
:epics
)
-
return
unless
group
.
feature_available?
(
:epics
)
-
epics
=
EpicsFinder
.
new
(
current_user
,
group_id:
@group
.
id
).
execute
-
epics
=
EpicsFinder
.
new
(
current_user
,
group_id:
@group
.
id
).
execute
-
epics_items
=
[
'epics#show'
,
'epics#index'
]
-
epics_items
=
[
'epics#show'
,
'epics#index'
,
'roadmap#show'
]
=
nav_link
(
path:
epics_items
)
do
=
nav_link
(
path:
epics_items
)
do
=
link_to
group_epics_path
(
group
)
do
=
link_to
group_epics_path
(
group
)
do
...
@@ -10,9 +10,16 @@
...
@@ -10,9 +10,16 @@
%span
.nav-item-name
%span
.nav-item-name
Epics
Epics
%span
.badge.count
=
number_with_delimiter
(
epics
.
count
)
%span
.badge.count
=
number_with_delimiter
(
epics
.
count
)
%ul
.sidebar-sub-level-items
.is-fly-out-only
%ul
.sidebar-sub-level-items
=
nav_link
(
path:
epics_items
,
html_options:
{
class:
"fly-out-top-item"
}
)
do
=
nav_link
(
path:
epics_items
,
html_options:
{
class:
"fly-out-top-item"
}
)
do
=
link_to
group_epics_path
(
group
)
do
=
link_to
group_epics_path
(
group
)
do
%strong
.fly-out-top-item-name
%strong
.fly-out-top-item-name
=
_
(
'Epics'
)
#{
_
(
'Epics'
)
}
%span
.badge.count.epic_counter.fly-out-badge
=
number_with_delimiter
(
epics
.
count
)
%span
.badge.count.epic_counter.fly-out-badge
=
number_with_delimiter
(
epics
.
count
)
%li
.divider.fly-out-top-item
=
nav_link
(
path:
'epics#index'
,
html_options:
{
class:
'home'
})
do
=
link_to
group_epics_path
(
group
),
title:
'List'
do
%span
=
_
(
'List'
)
=
nav_link
(
path:
'roadmap#show'
,
html_options:
{
class:
'home'
})
do
=
link_to
group_roadmap_path
(
group
),
title:
'Roadmap'
do
%span
=
_
(
'Roadmap'
)
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