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
cf3dc57e
Commit
cf3dc57e
authored
Mar 02, 2020
by
Martin Wortschack
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add title to Analytics sidebar menus
parent
068aa93f
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
5 deletions
+10
-5
app/views/layouts/nav/sidebar/_analytics_links.html.haml
app/views/layouts/nav/sidebar/_analytics_links.html.haml
+5
-0
changelogs/unreleased/208453-add-title-to-analytics-sidebar-menus.yml
...nreleased/208453-add-title-to-analytics-sidebar-menus.yml
+5
-0
spec/features/projects/active_tabs_spec.rb
spec/features/projects/active_tabs_spec.rb
+0
-5
No files found.
app/views/layouts/nav/sidebar/_analytics_links.html.haml
View file @
cf3dc57e
...
...
@@ -10,6 +10,11 @@
=
_
(
'Analytics'
)
%ul
.sidebar-sub-level-items
{
data:
{
qa_selector:
'analytics_sidebar_submenu'
}
}
=
nav_link
(
path:
navbar_links
.
first
.
path
,
html_options:
{
class:
"fly-out-top-item"
}
)
do
=
link_to
navbar_links
.
first
.
link
do
%strong
.fly-out-top-item-name
=
_
(
'Analytics'
)
%li
.divider.fly-out-top-item
-
navbar_links
.
each
do
|
menu_item
|
=
nav_link
(
path:
menu_item
.
path
)
do
=
link_to
(
menu_item
.
link
,
menu_item
.
link_to_options
)
do
...
...
changelogs/unreleased/208453-add-title-to-analytics-sidebar-menus.yml
0 → 100644
View file @
cf3dc57e
---
title
:
Add title to Analytics sidebar menus
merge_request
:
26265
author
:
type
:
added
spec/features/projects/active_tabs_spec.rb
View file @
cf3dc57e
...
...
@@ -139,11 +139,6 @@ describe 'Project active tab' do
it_behaves_like
'page has active sub tab'
,
_
(
'Repository Analytics'
)
end
context
'on project Analytics/Repository Analytics'
do
it_behaves_like
'page has active tab'
,
_
(
'Analytics'
)
it_behaves_like
'page has active sub tab'
,
_
(
'Repository Analytics'
)
end
context
'on project Analytics/Cycle Analytics'
do
before
do
click_tab
(
_
(
'CI / CD 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