Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
c21e817a
Commit
c21e817a
authored
Feb 21, 2018
by
Tomasz Maczukin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add link to timeout overriding documentation from job page sidebar
parent
42d2551d
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
0 deletions
+21
-0
app/assets/javascripts/jobs/components/sidebar_detail_row.vue
...assets/javascripts/jobs/components/sidebar_detail_row.vue
+20
-0
app/assets/javascripts/jobs/components/sidebar_details_block.vue
...ets/javascripts/jobs/components/sidebar_details_block.vue
+1
-0
No files found.
app/assets/javascripts/jobs/components/sidebar_detail_row.vue
View file @
c21e817a
...
@@ -11,11 +11,19 @@
...
@@ -11,11 +11,19 @@
type
:
String
,
type
:
String
,
required
:
true
,
required
:
true
,
},
},
helpUrl
:
{
type
:
String
,
required
:
false
,
default
:
''
,
},
},
},
computed
:
{
computed
:
{
hasTitle
()
{
hasTitle
()
{
return
this
.
title
.
length
>
0
;
return
this
.
title
.
length
>
0
;
},
},
hasHelpURL
()
{
return
this
.
helpUrl
.
length
>
0
;
},
},
},
};
};
</
script
>
</
script
>
...
@@ -28,5 +36,17 @@
...
@@ -28,5 +36,17 @@
{{
title
}}
:
{{
title
}}
:
</span>
</span>
{{
value
}}
{{
value
}}
<span
v-if=
"hasHelpURL"
class=
"help-button pull-right"
>
<a
:href=
"helpUrl"
target=
"_blank"
>
<i
class=
"fa fa-question-circle"
></i>
</a>
</span>
</p>
</p>
</
template
>
</
template
>
app/assets/javascripts/jobs/components/sidebar_details_block.vue
View file @
c21e817a
...
@@ -127,6 +127,7 @@
...
@@ -127,6 +127,7 @@
class=
"js-job-timeout"
class=
"js-job-timeout"
v-if=
"job.timeout"
v-if=
"job.timeout"
title=
"Timeout"
title=
"Timeout"
help-url=
"/help/ci/runners/README.html#setting-maximum-job-timeout-for-a-runner"
:value=
"timeout"
:value=
"timeout"
/>
/>
<detail-row
<detail-row
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment