Skip to content
Snippets Groups Projects

Add auto-cancel for pending pipelines on branch, if they are not HEAD

Compare and
23 files
+ 314
115
Compare changes
  • Side-by-side
  • Inline
Files
23
@@ -36,7 +36,7 @@ export default {
computed: {
cssClasses() {
return `ci-status ci-${this.pipeline.details.status.group}`;
return `ci-status ci-${this.pipeline.details.status.group} has-tooltip`;
},
detailsPath() {
@@ -47,12 +47,17 @@ export default {
content() {
return `${this.svg} ${this.pipeline.details.status.text}`;
},
tooltipTitle() {
return this.pipeline.details.status_tooltip;
},
},
template: `
<td class="commit-link">
<a
:class="cssClasses"
:href="detailsPath"
:title="tooltipTitle"
v-html="content">
</a>
</td>
Loading