Skip to content
Snippets Groups Projects
Commit 260fcd45 authored by Douwe Maan's avatar Douwe Maan
Browse files

Consistently case `Back to X` links.

parent d92696d3
No related branches found
No related tags found
1 merge request!1260Clean up overlap between dashboard and explore
Loading
Loading
@@ -3,7 +3,7 @@
= link_to root_path, title: 'Back to dashboard', data: {placement: 'right'}, class: 'back-link' do
= icon('caret-square-o-left fw')
%span
Back to Dashboard
Back to dashboard
 
%li.separate-item
 
Loading
Loading
Loading
Loading
@@ -3,7 +3,7 @@
= link_to root_path, title: 'Back to dashboard', data: {placement: 'right'}, class: 'back-link' do
= icon('caret-square-o-left fw')
%span
Back to Dashboard
Back to dashboard
 
%li.separate-item
 
Loading
Loading
Loading
Loading
@@ -4,13 +4,13 @@
= link_to group_path(@project.group), title: 'Back to group', data: {placement: 'right'}, class: 'back-link' do
= icon('caret-square-o-left fw')
%span
Back to Group
Back to group
- else
= nav_link do
= link_to root_path, title: 'Back to dashboard', data: {placement: 'right'}, class: 'back-link' do
= icon('caret-square-o-left fw')
%span
Back to Dashboard
Back to dashboard
 
%li.separate-item
 
Loading
Loading
Loading
Loading
@@ -6,7 +6,7 @@ class Spinach::Features::Groups < Spinach::FeatureSteps
include Select2Helper
 
step 'I should see back to dashboard button' do
expect(page).to have_content 'Back to Dashboard'
expect(page).to have_content 'Back to dashboard'
end
 
step 'gitlab user "Mike"' do
Loading
Loading
Loading
Loading
@@ -124,10 +124,10 @@ class Spinach::Features::Project < Spinach::FeatureSteps
end
 
step 'I should see back to dashboard button' do
expect(page).to have_content 'Back to Dashboard'
expect(page).to have_content 'Back to dashboard'
end
 
step 'I should see back to group button' do
expect(page).to have_content 'Back to Group'
expect(page).to have_content 'Back to group'
end
end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment