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
Léo-Paul Géneau
gitlab-ce
Commits
260fcd45
Commit
260fcd45
authored
Sep 08, 2015
by
Douwe Maan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Consistently case `Back to X` links.
parent
d92696d3
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
7 additions
and
7 deletions
+7
-7
app/views/layouts/nav/_group.html.haml
app/views/layouts/nav/_group.html.haml
+1
-1
app/views/layouts/nav/_profile.html.haml
app/views/layouts/nav/_profile.html.haml
+1
-1
app/views/layouts/nav/_project.html.haml
app/views/layouts/nav/_project.html.haml
+2
-2
features/steps/groups.rb
features/steps/groups.rb
+1
-1
features/steps/project/project.rb
features/steps/project/project.rb
+2
-2
No files found.
app/views/layouts/nav/_group.html.haml
View file @
260fcd45
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
=
link_to
root_path
,
title:
'Back to dashboard'
,
data:
{
placement:
'right'
},
class:
'back-link'
do
=
link_to
root_path
,
title:
'Back to dashboard'
,
data:
{
placement:
'right'
},
class:
'back-link'
do
=
icon
(
'caret-square-o-left fw'
)
=
icon
(
'caret-square-o-left fw'
)
%span
%span
Back to
D
ashboard
Back to
d
ashboard
%li
.separate-item
%li
.separate-item
...
...
app/views/layouts/nav/_profile.html.haml
View file @
260fcd45
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
=
link_to
root_path
,
title:
'Back to dashboard'
,
data:
{
placement:
'right'
},
class:
'back-link'
do
=
link_to
root_path
,
title:
'Back to dashboard'
,
data:
{
placement:
'right'
},
class:
'back-link'
do
=
icon
(
'caret-square-o-left fw'
)
=
icon
(
'caret-square-o-left fw'
)
%span
%span
Back to
D
ashboard
Back to
d
ashboard
%li
.separate-item
%li
.separate-item
...
...
app/views/layouts/nav/_project.html.haml
View file @
260fcd45
...
@@ -4,13 +4,13 @@
...
@@ -4,13 +4,13 @@
=
link_to
group_path
(
@project
.
group
),
title:
'Back to group'
,
data:
{
placement:
'right'
},
class:
'back-link'
do
=
link_to
group_path
(
@project
.
group
),
title:
'Back to group'
,
data:
{
placement:
'right'
},
class:
'back-link'
do
=
icon
(
'caret-square-o-left fw'
)
=
icon
(
'caret-square-o-left fw'
)
%span
%span
Back to
G
roup
Back to
g
roup
-
else
-
else
=
nav_link
do
=
nav_link
do
=
link_to
root_path
,
title:
'Back to dashboard'
,
data:
{
placement:
'right'
},
class:
'back-link'
do
=
link_to
root_path
,
title:
'Back to dashboard'
,
data:
{
placement:
'right'
},
class:
'back-link'
do
=
icon
(
'caret-square-o-left fw'
)
=
icon
(
'caret-square-o-left fw'
)
%span
%span
Back to
D
ashboard
Back to
d
ashboard
%li
.separate-item
%li
.separate-item
...
...
features/steps/groups.rb
View file @
260fcd45
...
@@ -6,7 +6,7 @@ class Spinach::Features::Groups < Spinach::FeatureSteps
...
@@ -6,7 +6,7 @@ class Spinach::Features::Groups < Spinach::FeatureSteps
include
Select2Helper
include
Select2Helper
step
'I should see back to dashboard button'
do
step
'I should see back to dashboard button'
do
expect
(
page
).
to
have_content
'Back to
D
ashboard'
expect
(
page
).
to
have_content
'Back to
d
ashboard'
end
end
step
'gitlab user "Mike"'
do
step
'gitlab user "Mike"'
do
...
...
features/steps/project/project.rb
View file @
260fcd45
...
@@ -124,10 +124,10 @@ class Spinach::Features::Project < Spinach::FeatureSteps
...
@@ -124,10 +124,10 @@ class Spinach::Features::Project < Spinach::FeatureSteps
end
end
step
'I should see back to dashboard button'
do
step
'I should see back to dashboard button'
do
expect
(
page
).
to
have_content
'Back to
D
ashboard'
expect
(
page
).
to
have_content
'Back to
d
ashboard'
end
end
step
'I should see back to group button'
do
step
'I should see back to group button'
do
expect
(
page
).
to
have_content
'Back to
G
roup'
expect
(
page
).
to
have_content
'Back to
g
roup'
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