BigW Consortium Gitlab

Commit 3503dfe2 by Constance Okoghenun Committed by Tim Zallmann

Renamed 'Overview' to 'Project' in collapsed contextual navigation at a project level

parent 87d2c77b
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
= 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
= link_to project_path(@project) do = link_to project_path(@project) do
%strong.fly-out-top-item-name %strong.fly-out-top-item-name
= _('Overview') = _('Project')
%li.divider.fly-out-top-item %li.divider.fly-out-top-item
= nav_link(path: 'projects#show') do = nav_link(path: 'projects#show') do
= link_to project_path(@project), title: _('Project details'), class: 'shortcuts-project' do = link_to project_path(@project), title: _('Project details'), class: 'shortcuts-project' do
......
---
title: Renamed 'Overview' to 'Project' in collapsed contextual navigation at a project
level
merge_request: 18996
author: Constance Okoghenun
type: fixed
...@@ -35,7 +35,7 @@ describe 'Project active tab' do ...@@ -35,7 +35,7 @@ describe 'Project active tab' do
visit project_path(project) visit project_path(project)
end 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' it_behaves_like 'page has active sub tab', 'Details'
context 'on project Home/Activity' do context 'on project Home/Activity' do
...@@ -43,7 +43,7 @@ describe 'Project active tab' do ...@@ -43,7 +43,7 @@ describe 'Project active tab' do
click_tab('Activity') click_tab('Activity')
end 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' it_behaves_like 'page has active sub tab', 'Activity'
end end
end end
......
...@@ -37,7 +37,7 @@ describe 'Projects > User sees sidebar' do ...@@ -37,7 +37,7 @@ describe 'Projects > User sees sidebar' do
visit project_path(project) visit project_path(project)
within('.nav-sidebar') do 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 'Issues'
expect(page).to have_content 'Wiki' expect(page).to have_content 'Wiki'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment