gitlab-org--gitlab-foss/app/assets/javascripts/vue_pipelines_status/created.js.es6

24 lines
508 B
JavaScript
Raw Normal View History

2016-11-11 14:35:57 -05:00
/* 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>
&nbsp;failed
</span>
</a>
</td>
`,
});
})(window.gl || (window.gl = {}));