BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
cb35c5e1
Commit
cb35c5e1
authored
Nov 22, 2016
by
Regis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
stashing for now
parent
c8788fff
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
2 deletions
+17
-2
index.js.es6
app/assets/javascripts/vue_pipelines_index/index.js.es6
+2
-0
pipelines.js.es6
app/assets/javascripts/vue_pipelines_index/pipelines.js.es6
+15
-2
No files found.
app/assets/javascripts/vue_pipelines_index/index.js.es6
View file @
cb35c5e1
/* global Vue, VueResource, gl */
/* eslint-disable no-bitwise, no-plusplus*/
/*= require vue_common_component/commit */
//= require vue-resource
//= require ./object_assign.js.es6
...
...
app/assets/javascripts/vue_pipelines_index/pipelines.js.es6
View file @
cb35c5e1
...
...
@@ -13,7 +13,7 @@
runningPipeline: gl.VueRunningPipeline,
pipelineActions: gl.VuePipelineActions,
stages: gl.VueStages,
branchCommit: gl.VueBranchCommi
t,
commit: gl.CommitComponen
t,
pipelineUrl: gl.VuePipelineUrl,
pipelineHead: gl.VuePipelineHead,
glPagination: gl.VueGlPagination,
...
...
@@ -59,6 +59,11 @@
this.pageRequest = true;
this.store.fetchDataLoop.call(this, Vue, this.pagenum, this.scope);
},
author(pipeline) {
const author = pipeline.commit.author;
if (author) return author;
return ({});
},
},
template: `
<div>
...
...
@@ -72,7 +77,15 @@
<tr class="commit" v-for='pipeline in pipelines'>
<status-scope :pipeline='pipeline'></status-scope>
<pipeline-url :pipeline='pipeline'></pipeline-url>
<branch-commit :pipeline='pipeline'></branch-commit>
<commit
:tag='pipeline.ref.tag'
:author='pipeline.commit.author'
:title='pipeline.commit.title'
:ref='pipeline.ref'
:short_sha='pipeline.commit.short_id'
:commit_url='pipeline.commit.commit_url'
>
</commit>
<stages :pipeline='pipeline'></stages>
<time-ago :pipeline='pipeline'></time-ago>
<pipeline-actions :pipeline='pipeline'></pipeline-actions>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment