BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
85a5e425
Commit
85a5e425
authored
Jun 21, 2016
by
Phil Hughes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Moved new environment link to below blank state text
parent
b5a718d1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
4 deletions
+8
-4
index.html.haml
app/views/projects/environments/index.html.haml
+5
-1
environments_spec.rb
spec/features/environments_spec.rb
+3
-3
No files found.
app/views/projects/environments/index.html.haml
View file @
85a5e425
...
...
@@ -15,7 +15,11 @@
You don't have any environments right now.
%p
.blank-state-text
Environments are places where code gets deployed, such as staging or production.
=
link_to
"Read more"
,
help_page_path
(
"ci"
,
"environments"
),
class:
"btn btn-success"
%br
=
succeed
"."
do
=
link_to
"Read more about environments"
,
help_page_path
(
"ci"
,
"environments"
)
=
link_to
new_namespace_project_environment_path
(
@project
.
namespace
,
@project
),
class:
'btn btn-create'
do
New environment
-
else
.table-holder
%table
.table.environments
...
...
spec/features/environments_spec.rb
View file @
85a5e425
...
...
@@ -20,7 +20,7 @@ feature 'Environments', feature: true do
context
'without environments'
do
scenario
'does show no environments'
do
expect
(
page
).
to
have_content
(
'
No environments to show
'
)
expect
(
page
).
to
have_content
(
'
You don\'t have any environments right now.
'
)
end
end
...
...
@@ -33,7 +33,7 @@ feature 'Environments', feature: true do
context
'without deployments'
do
scenario
'does show no deployments'
do
expect
(
page
).
to
have_content
(
'
No deployments yet
'
)
expect
(
page
).
to
have_content
(
'
You don\'t have any deployments right now.
'
)
end
end
...
...
@@ -61,7 +61,7 @@ feature 'Environments', feature: true do
context
'without deployments'
do
scenario
'does show no deployments'
do
expect
(
page
).
to
have_content
(
'
No deployments for
'
)
expect
(
page
).
to
have_content
(
'
You don\'t have any deployments right now.
'
)
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