Commit 85a5e425 authored by Phil Hughes's avatar Phil Hughes

Moved new environment link to below blank state text

parent b5a718d1
...@@ -15,7 +15,11 @@ ...@@ -15,7 +15,11 @@
You don't have any environments right now. You don't have any environments right now.
%p.blank-state-text %p.blank-state-text
Environments are places where code gets deployed, such as staging or production. 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 - else
.table-holder .table-holder
%table.table.environments %table.table.environments
......
...@@ -20,7 +20,7 @@ feature 'Environments', feature: true do ...@@ -20,7 +20,7 @@ feature 'Environments', feature: true do
context 'without environments' do context 'without environments' do
scenario 'does show no 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
end end
...@@ -33,7 +33,7 @@ feature 'Environments', feature: true do ...@@ -33,7 +33,7 @@ feature 'Environments', feature: true do
context 'without deployments' do context 'without deployments' do
scenario 'does show no 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
end end
...@@ -61,7 +61,7 @@ feature 'Environments', feature: true do ...@@ -61,7 +61,7 @@ feature 'Environments', feature: true do
context 'without deployments' do context 'without deployments' do
scenario 'does show no 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
end end
......
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