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
3503dfe2
Commit
3503dfe2
authored
May 21, 2018
by
Constance Okoghenun
Committed by
Tim Zallmann
May 21, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Renamed 'Overview' to 'Project' in collapsed contextual navigation at a project level
parent
87d2c77b
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
4 deletions
+10
-4
app/views/layouts/nav/sidebar/_project.html.haml
app/views/layouts/nav/sidebar/_project.html.haml
+1
-1
changelogs/unreleased/collapsed-contextual-nav-update.yml
changelogs/unreleased/collapsed-contextual-nav-update.yml
+6
-0
spec/features/projects/actve_tabs_spec.rb
spec/features/projects/actve_tabs_spec.rb
+2
-2
spec/features/projects/user_sees_sidebar_spec.rb
spec/features/projects/user_sees_sidebar_spec.rb
+1
-1
No files found.
app/views/layouts/nav/sidebar/_project.html.haml
View file @
3503dfe2
...
...
@@ -19,7 +19,7 @@
=
nav_link
(
path:
'projects#show'
,
html_options:
{
class:
"fly-out-top-item"
}
)
do
=
link_to
project_path
(
@project
)
do
%strong
.fly-out-top-item-name
=
_
(
'
Overview
'
)
=
_
(
'
Project
'
)
%li
.divider.fly-out-top-item
=
nav_link
(
path:
'projects#show'
)
do
=
link_to
project_path
(
@project
),
title:
_
(
'Project details'
),
class:
'shortcuts-project'
do
...
...
changelogs/unreleased/collapsed-contextual-nav-update.yml
0 → 100644
View file @
3503dfe2
---
title
:
Renamed 'Overview' to 'Project' in collapsed contextual navigation at a project
level
merge_request
:
18996
author
:
Constance Okoghenun
type
:
fixed
spec/features/projects/actve_tabs_spec.rb
View file @
3503dfe2
...
...
@@ -35,7 +35,7 @@ describe 'Project active tab' do
visit
project_path
(
project
)
end
it_behaves_like
'page has active tab'
,
'
Overview
'
it_behaves_like
'page has active tab'
,
'
Project
'
it_behaves_like
'page has active sub tab'
,
'Details'
context
'on project Home/Activity'
do
...
...
@@ -43,7 +43,7 @@ describe 'Project active tab' do
click_tab
(
'Activity'
)
end
it_behaves_like
'page has active tab'
,
'
Overview
'
it_behaves_like
'page has active tab'
,
'
Project
'
it_behaves_like
'page has active sub tab'
,
'Activity'
end
end
...
...
spec/features/projects/user_sees_sidebar_spec.rb
View file @
3503dfe2
...
...
@@ -37,7 +37,7 @@ describe 'Projects > User sees sidebar' do
visit
project_path
(
project
)
within
(
'.nav-sidebar'
)
do
expect
(
page
).
to
have_content
'
Overview
'
expect
(
page
).
to
have_content
'
Project
'
expect
(
page
).
to
have_content
'Issues'
expect
(
page
).
to
have_content
'Wiki'
...
...
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