Commit 9a7db4f0 authored by Jason Goodman's avatar Jason Goodman Committed by Heinrich Lee Yu

Link to correct documentation from empty environment dashboard

Link to environment dashboard documentation rather
than operations dashboard
parent 1f651068
---
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