Commit 94235cbb authored by Lukas Eipert's avatar Lukas Eipert

backport EE version of

`app/assets/javascripts/jobs/components/sidebar_details_block.vue` and run prettier
Squashed commits:
[4551a37adc] backport EE version of
`app/assets/javascripts/jobs/components/sidebar_details_block.vue`
parent bee339ad
...@@ -48,11 +48,10 @@ export default { ...@@ -48,11 +48,10 @@ export default {
return `${this.job.runner.description} (#${this.job.runner.id})`; return `${this.job.runner.description} (#${this.job.runner.id})`;
}, },
retryButtonClass() { retryButtonClass() {
let className = 'js-retry-button pull-right btn btn-retry d-none d-md-block d-lg-block d-xl-block'; let className =
'js-retry-button float-right btn btn-retry d-none d-md-block d-lg-block d-xl-block';
className += className +=
this.job.status && this.job.recoverable this.job.status && this.job.recoverable ? ' btn-primary' : ' btn-inverted-secondary';
? ' btn-primary'
: ' btn-inverted-secondary';
return className; return className;
}, },
hasTimeout() { hasTimeout() {
...@@ -104,8 +103,7 @@ export default { ...@@ -104,8 +103,7 @@ export default {
<button <button
type="button" type="button"
:aria-label="__('Toggle Sidebar')" :aria-label="__('Toggle Sidebar')"
class="btn btn-blank gutter-toggle pull-right class="btn btn-blank gutter-toggle float-right d-block d-md-none js-sidebar-build-toggle"
d-block d-sm-block d-md-none js-sidebar-build-toggle"
> >
<i <i
aria-hidden="true" aria-hidden="true"
......
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