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
0
Merge Requests
0
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
Boxiang Sun
gitlab-ce
Commits
ad9e19b8
Commit
ad9e19b8
authored
Mar 18, 2019
by
Mark Fletcher
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Port EE Insights Sidebar Items
parent
2ff13241
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
app/views/layouts/nav/sidebar/_group.html.haml
app/views/layouts/nav/sidebar/_group.html.haml
+2
-0
app/views/layouts/nav/sidebar/_project.html.haml
app/views/layouts/nav/sidebar/_project.html.haml
+2
-0
No files found.
app/views/layouts/nav/sidebar/_group.html.haml
View file @
ad9e19b8
...
@@ -45,6 +45,8 @@
...
@@ -45,6 +45,8 @@
%span
%span
=
_
(
'Contribution Analytics'
)
=
_
(
'Contribution Analytics'
)
=
render_if_exists
'layouts/nav/group_insights_link'
=
render_if_exists
"layouts/nav/ee/epic_link"
,
group:
@group
=
render_if_exists
"layouts/nav/ee/epic_link"
,
group:
@group
-
if
group_sidebar_link?
(
:issues
)
-
if
group_sidebar_link?
(
:issues
)
...
...
app/views/layouts/nav/sidebar/_project.html.haml
View file @
ad9e19b8
...
@@ -41,6 +41,8 @@
...
@@ -41,6 +41,8 @@
=
link_to
project_cycle_analytics_path
(
@project
),
title:
_
(
'Cycle Analytics'
),
class:
'shortcuts-project-cycle-analytics'
do
=
link_to
project_cycle_analytics_path
(
@project
),
title:
_
(
'Cycle Analytics'
),
class:
'shortcuts-project-cycle-analytics'
do
%span
=
_
(
'Cycle Analytics'
)
%span
=
_
(
'Cycle Analytics'
)
=
render_if_exists
'layouts/nav/project_insights_link'
-
if
project_nav_tab?
:files
-
if
project_nav_tab?
:files
=
nav_link
(
controller:
sidebar_repository_paths
)
do
=
nav_link
(
controller:
sidebar_repository_paths
)
do
=
link_to
project_tree_path
(
@project
),
class:
'shortcuts-tree qa-project-menu-repo'
do
=
link_to
project_tree_path
(
@project
),
class:
'shortcuts-tree qa-project-menu-repo'
do
...
...
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