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
d8eb3773
Commit
d8eb3773
authored
Oct 01, 2019
by
Annabel Dunstone Gray
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove duplicate analytics link
parent
af80dec7
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
8 deletions
+2
-8
app/views/layouts/nav/_dashboard.html.haml
app/views/layouts/nav/_dashboard.html.haml
+1
-3
ee/app/views/layouts/nav/sidebar/_analytics_link.html.haml
ee/app/views/layouts/nav/sidebar/_analytics_link.html.haml
+1
-1
ee/app/views/layouts/nav/sidebar/_analytics_more_link.html.haml
.../views/layouts/nav/sidebar/_analytics_more_link.html.haml
+0
-4
No files found.
app/views/layouts/nav/_dashboard.html.haml
View file @
d8eb3773
...
...
@@ -17,8 +17,6 @@
.dropdown-menu.frequent-items-dropdown-menu
=
render
"layouts/nav/groups_dropdown/show"
=
render_if_exists
'layouts/nav/sidebar/analytics_link'
-
if
any_dashboard_nav_link?
([
:groups
,
:milestones
,
:activity
,
:snippets
])
%li
.header-more.dropdown
%a
{
href:
"#"
,
data:
{
toggle:
"dropdown"
,
qa_selector:
'more_dropdown'
}
}
...
...
@@ -45,7 +43,7 @@
=
link_to
dashboard_snippets_path
,
class:
'dashboard-shortcuts-snippets'
,
data:
{
qa_selector:
'snippets_link'
}
do
=
_
(
'Snippets'
)
=
render_if_exists
'layouts/nav/sidebar/analytics_
more_
link'
=
render_if_exists
'layouts/nav/sidebar/analytics_link'
%li
.dropdown
=
render_if_exists
'dashboard/nav_link_list'
...
...
ee/app/views/layouts/nav/sidebar/_analytics_link.html.haml
View file @
d8eb3773
-
if
dashboard_nav_link?
(
:analytics
)
=
nav_link
(
controller:
analytics_controllers
,
html_options:
{
class:
"d-none d-xl-block"
}
)
do
=
nav_link
(
controller:
analytics_controllers
)
do
=
link_to
analytics_root_path
do
=
_
(
'Analytics'
)
ee/app/views/layouts/nav/sidebar/_analytics_more_link.html.haml
deleted
100644 → 0
View file @
af80dec7
-
if
dashboard_nav_link?
(
:analytics
)
=
nav_link
(
controller:
analytics_controllers
)
do
=
link_to
analytics_root_path
do
=
_
(
'Analytics'
)
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