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
e86c5570
Commit
e86c5570
authored
Dec 07, 2016
by
Regis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix status for svg's on status column
parent
e4efb135
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
app/assets/javascripts/vue_pipelines_index/status.js.es6
app/assets/javascripts/vue_pipelines_index/status.js.es6
+3
-3
No files found.
app/assets/javascripts/vue_pipelines_index/status.js.es6
View file @
e86c5570
...
...
@@ -10,13 +10,13 @@
cssClasses() {
const cssObject = {};
cssObject['ci-status'] = true;
cssObject[`ci-${this.pipeline.details.status}`] = true;
cssObject[`ci-${this.pipeline.details.status
.text
}`] = true;
return cssObject;
},
svg() {
return document
.querySelector(
`.${this.pipeline.details.status}-icon-svg.hidden`,
`.${this.pipeline.details.status
.text
}-icon-svg.hidden`,
).innerHTML;
},
},
...
...
@@ -25,7 +25,7 @@
<a :href='pipeline.url'>
<span :class='cssClasses'>
<span v-html='svg'></span>
<span> {{pipeline.details.status}}</span>
<span> {{pipeline.details.status
.text
}}</span>
</span>
</a>
</td>
...
...
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