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
406915f4
Commit
406915f4
authored
Apr 12, 2018
by
Constance Okoghenun
Committed by
Tim Zallmann
Apr 12, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Renamed 'Overview' to 'Project' in the contextual navigation at a project level
parent
da693388
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
4 deletions
+9
-4
app/views/layouts/nav/sidebar/_project.html.haml
app/views/layouts/nav/sidebar/_project.html.haml
+1
-1
changelogs/unreleased/rename-overview-project-sidenav.yml
changelogs/unreleased/rename-overview-project-sidenav.yml
+5
-0
spec/features/projects/user_uses_shortcuts_spec.rb
spec/features/projects/user_uses_shortcuts_spec.rb
+3
-3
No files found.
app/views/layouts/nav/sidebar/_project.html.haml
View file @
406915f4
...
@@ -13,7 +13,7 @@
...
@@ -13,7 +13,7 @@
.nav-icon-container
.nav-icon-container
=
sprite_icon
(
'project'
)
=
sprite_icon
(
'project'
)
%span
.nav-item-name
%span
.nav-item-name
Overview
Project
%ul
.sidebar-sub-level-items
%ul
.sidebar-sub-level-items
=
nav_link
(
path:
'projects#show'
,
html_options:
{
class:
"fly-out-top-item"
}
)
do
=
nav_link
(
path:
'projects#show'
,
html_options:
{
class:
"fly-out-top-item"
}
)
do
...
...
changelogs/unreleased/rename-overview-project-sidenav.yml
0 → 100644
View file @
406915f4
---
title
:
Renamed Overview to Project in the contextual navigation at a project level
merge_request
:
18295
author
:
Constance Okoghenun
type
:
changed
spec/features/projects/user_uses_shortcuts_spec.rb
View file @
406915f4
...
@@ -11,12 +11,12 @@ describe 'User uses shortcuts', :js do
...
@@ -11,12 +11,12 @@ describe 'User uses shortcuts', :js do
visit
(
project_path
(
project
))
visit
(
project_path
(
project
))
end
end
context
'when navigating to the
Overview
pages'
do
context
'when navigating to the
Project
pages'
do
it
'redirects to the details page'
do
it
'redirects to the details page'
do
find
(
'body'
).
native
.
send_key
(
'g'
)
find
(
'body'
).
native
.
send_key
(
'g'
)
find
(
'body'
).
native
.
send_key
(
'p'
)
find
(
'body'
).
native
.
send_key
(
'p'
)
expect
(
page
).
to
have_active_navigation
(
'
Overview
'
)
expect
(
page
).
to
have_active_navigation
(
'
Project
'
)
expect
(
page
).
to
have_active_sub_navigation
(
'Details'
)
expect
(
page
).
to
have_active_sub_navigation
(
'Details'
)
end
end
...
@@ -24,7 +24,7 @@ describe 'User uses shortcuts', :js do
...
@@ -24,7 +24,7 @@ describe 'User uses shortcuts', :js do
find
(
'body'
).
native
.
send_key
(
'g'
)
find
(
'body'
).
native
.
send_key
(
'g'
)
find
(
'body'
).
native
.
send_key
(
'e'
)
find
(
'body'
).
native
.
send_key
(
'e'
)
expect
(
page
).
to
have_active_navigation
(
'
Overview
'
)
expect
(
page
).
to
have_active_navigation
(
'
Project
'
)
expect
(
page
).
to
have_active_sub_navigation
(
'Activity'
)
expect
(
page
).
to
have_active_sub_navigation
(
'Activity'
)
end
end
end
end
...
...
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