Commit 5d67051c authored by Regis's avatar Regis

remove pipeline head component and use staic HTML instead

parent 79f6e08c
...@@ -6,7 +6,6 @@ ...@@ -6,7 +6,6 @@
/*= require ./status.js.es6 */ /*= require ./status.js.es6 */
/*= require ./store.js.es6 */ /*= require ./store.js.es6 */
/*= require ./pipeline_url.js.es6 */ /*= require ./pipeline_url.js.es6 */
/*= require ./pipeline_head.js.es6 */
/*= require ./stage.js.es6 */ /*= require ./stage.js.es6 */
/*= require ./stages.js.es6 */ /*= require ./stages.js.es6 */
/*= require ./pipeline_actions.js.es6 */ /*= require ./pipeline_actions.js.es6 */
......
/* global Vue, gl */
/* eslint-disable no-param-reassign */
((gl) => {
gl.VuePipelineHead = Vue.extend({
template: `
<thead>
<tr>
<th>Status</th>
<th>Pipeline</th>
<th>Commit</th>
<th>Stages</th>
<th></th>
<th class="hidden-xs"></th>
</tr>
</thead>
`,
});
})(window.gl || (window.gl = {}));
...@@ -74,7 +74,16 @@ ...@@ -74,7 +74,16 @@
</div> </div>
<div class="table-holder" v-if='pipelines.length > 0'> <div class="table-holder" v-if='pipelines.length > 0'>
<table class="table ci-table"> <table class="table ci-table">
<pipeline-head></pipeline-head> <thead>
<tr>
<th>Status</th>
<th>Pipeline</th>
<th>Commit</th>
<th>Stages</th>
<th></th>
<th class="hidden-xs"></th>
</tr>
</thead>
<tbody> <tbody>
<tr class="commit" v-for='pipeline in pipelines'> <tr class="commit" v-for='pipeline in pipelines'>
<status-scope <status-scope
......
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