BigW Consortium Gitlab

Commit c55ba052 by Regis

add svg to pipeline index haml - prep for commit comp change - [ci skip]

parent 1e7f91f2
......@@ -74,6 +74,15 @@
return nonUser;
},
ref(pipeline) {
const { ref } = pipeline;
const commitRef = {
name: ref.name,
tag: ref['tag?'],
ref_url: ref.url,
};
return commitRef;
},
addTimeInterval(id, that) {
this.allTimeIntervals.push({ id, component: that });
},
......@@ -92,10 +101,10 @@
<pipeline-url :pipeline='pipeline'></pipeline-url>
<td>
<commit
:tag="pipeline.ref['tag?']"
:ref='ref(pipeline)'
:author='author(pipeline)'
:tag="pipeline.ref['tag?']"
:title='pipeline.commit.title'
:ref='pipeline.ref'
:short_sha='pipeline.commit.short_id'
:commit_url='pipeline.commit.commit_url'
>
......
......@@ -53,6 +53,8 @@
= render @pipelines, commit_sha: true, stage: true, allow_retry: true
= paginate @pipelines, theme: 'gitlab'
- else
.commit-icon-svg.hidden
= custom_icon("icon_commit")
.vue-pipelines-index
= page_specific_javascript_tag('vue_icons/index.js')
......
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