Commit e75614e8 authored by Tomasz Maczukin's avatar Tomasz Maczukin

Add few frontend improvements

parent f18eb6da
......@@ -44,8 +44,12 @@
<a
:href="helpUrl"
target="_blank"
rel="noopener noreferrer nofollow"
>
<i class="fa fa-question-circle"></i>
<i
class="fa fa-question-circle"
aria-hidden="true"
></i>
</a>
</span>
</p>
......
......@@ -22,6 +22,11 @@
type: Boolean,
required: true,
},
runnerHelpUrl: {
type: String,
required: false,
default: '',
},
},
computed: {
shouldRenderContent() {
......@@ -127,7 +132,7 @@
class="js-job-timeout"
v-if="job.timeout"
title="Timeout"
help-url="/help/ci/runners/README.html#setting-maximum-job-timeout-for-a-runner"
:help-url="runnerHelpUrl"
:value="timeout"
/>
<detail-row
......
......@@ -51,6 +51,7 @@ export default () => {
props: {
isLoading: this.mediator.state.isLoading,
job: this.mediator.store.state.job,
runnerHelpUrl: dataset.runnerHelpUrl,
},
});
},
......
......@@ -111,4 +111,4 @@
.js-build-options{ data: javascript_build_options }
#js-job-details-vue{ data: { endpoint: project_job_path(@project, @build, format: :json) } }
#js-job-details-vue{ data: { endpoint: project_job_path(@project, @build, format: :json), runner_help_url: '/help/ci/runners/README.html#setting-maximum-job-timeout-for-a-runner' } }
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