Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
a0055435
Commit
a0055435
authored
Dec 05, 2016
by
Regis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tried css only approach didn't work for now - adding all icons to stages
parent
312c504f
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
46 deletions
+13
-46
app/assets/javascripts/vue_icons/index.js.es6
app/assets/javascripts/vue_icons/index.js.es6
+9
-46
app/assets/javascripts/vue_pipelines_index/stage.js.es6
app/assets/javascripts/vue_pipelines_index/stage.js.es6
+4
-0
No files found.
app/assets/javascripts/vue_icons/index.js.es6
View file @
a0055435
This diff is collapsed.
Click to expand it.
app/assets/javascripts/vue_pipelines_index/stage.js.es6
View file @
a0055435
...
...
@@ -10,6 +10,8 @@
'success-icon': gl.VueSuccessIcon,
'created-icon': gl.VueCreatedIcon,
'canceled-icon': gl.VueCanceledIcon,
'warning-icon': gl.VueWarningIcon,
'skipped-icon': gl.VueSkippedIcon,
},
props: ['stage'],
computed: {
...
...
@@ -32,6 +34,8 @@
<pending-icon v-if='stage.status === "pending"'></pending-icon>
<created-icon v-if='stage.status === "created"'></created-icon>
<canceled-icon v-if='stage.status === "canceled"'></canceled-icon>
<warning-icon v-if='stage.status === "warning"'></warning-icon>
<skipped-icon v-if='stage.status === "skipped"'></skipped-icon>
</a>
`,
});
...
...
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