Commit 2fc23fff authored by Heinrich Lee Yu's avatar Heinrich Lee Yu

Merge branch 'fix-env-doc-link' into 'master'

Link to Correct Documentation from Empty Environment Dashboard

See merge request gitlab-org/gitlab!20415
parents 1f651068 9a7db4f0
---
title: Fix documentation link from empty environment dashboard
merge_request: 20415
author:
type: fixed
...@@ -15,7 +15,7 @@ module OperationsHelper ...@@ -15,7 +15,7 @@ module OperationsHelper
'add-path' => add_operations_project_path, 'add-path' => add_operations_project_path,
'list-path' => operations_environments_list_path, 'list-path' => operations_environments_list_path,
'empty-dashboard-svg-path' => image_path('illustrations/operations-dashboard_empty.svg'), 'empty-dashboard-svg-path' => image_path('illustrations/operations-dashboard_empty.svg'),
'empty-dashboard-help-path' => help_page_path('user/operations_dashboard/index.html') 'empty-dashboard-help-path' => help_page_path('ci/environments/environments_dashboard.html')
} }
end end
end end
...@@ -9,6 +9,6 @@ describe 'operations/environments.html.haml' do ...@@ -9,6 +9,6 @@ describe 'operations/environments.html.haml' do
expect(rendered).to match %r{data-add-path="/-/operations"} expect(rendered).to match %r{data-add-path="/-/operations"}
expect(rendered).to match %r{data-list-path="/-/operations/environments_list"} expect(rendered).to match %r{data-list-path="/-/operations/environments_list"}
expect(rendered).to match %r{data-empty-dashboard-svg-path="/assets/illustrations/operations-dashboard_empty.*\.svg"} expect(rendered).to match %r{data-empty-dashboard-svg-path="/assets/illustrations/operations-dashboard_empty.*\.svg"}
expect(rendered).to match %r{data-empty-dashboard-help-path="/help/user/operations_dashboard/index.html"} expect(rendered).to match %r{data-empty-dashboard-help-path="/help/ci/environments/environments_dashboard.html"}
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