Commit 67f03c0d authored by Matija Čupić's avatar Matija Čupić

Add docs link

parent 28b7bc2b
......@@ -78,7 +78,7 @@ export default {
/>
</div>
<div class="media-body">
Could not retrieve the pipeline status. For potential solutions please read the <a href="#">documentation</a>.
Could not retrieve the pipeline status. For potential solutions please read the <a :href="mr.troubleshootingDocsLink">documentation</a>.
</div>
</template>
<template v-else-if="hasPipeline">
......
......@@ -110,6 +110,8 @@ export default class MergeRequestStore {
this.testResultsPath = data.test_reports_path;
this.troubleshootingDocsLink = data.troubleshooting_docs_link
this.setState(data);
}
......
......@@ -5,6 +5,7 @@
- page_title "#{@merge_request.title} (#{@merge_request.to_reference})", "Merge Requests"
- page_description @merge_request.description
- page_card_attributes @merge_request.card_attributes
- troubleshooting_docs_link help_page_path('user/project/merge_requests', anchor: 'troubleshooting')
.merge-request{ data: { mr_action: j(params[:tab].presence || 'show'), url: merge_request_path(@merge_request, format: :json), project_path: project_path(@merge_request.project) } }
= render "projects/merge_requests/mr_title"
......
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