24 lines
508 B
JavaScript
24 lines
508 B
JavaScript
|
/* global Vue, gl */
|
||
|
/* eslint-disable no-param-reassign */
|
||
|
|
||
|
((gl) => {
|
||
|
gl.VueCreatedScope = Vue.extend({
|
||
|
components: {
|
||
|
'vue-created-icon': gl.VueCreatedIcon,
|
||
|
},
|
||
|
props: [
|
||
|
'pipeline',
|
||
|
],
|
||
|
template: `
|
||
|
<td class="commit-link">
|
||
|
<a :href='pipeline.url'>
|
||
|
<span class="ci-status ci-created">
|
||
|
<vue-created-icon></vue-created-icon>
|
||
|
failed
|
||
|
</span>
|
||
|
</a>
|
||
|
</td>
|
||
|
`,
|
||
|
});
|
||
|
})(window.gl || (window.gl = {}));
|