BigW Consortium Gitlab

created.js.es6 508 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
/* 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 = {}));