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
0
Merge Requests
0
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
Jérome Perrin
gitlab-ce
Commits
f93b876c
Commit
f93b876c
authored
Dec 21, 2016
by
Filipa Lacerda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adds CSS class to status icon on MR widget to prevent non-colored icon
Adds MR id to changelor
parent
87b01636
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
app/views/projects/merge_requests/widget/_heading.html.haml
app/views/projects/merge_requests/widget/_heading.html.haml
+1
-1
changelogs/unreleased/25898-ci-icon-color-mr.yml
changelogs/unreleased/25898-ci-icon-color-mr.yml
+4
-0
No files found.
app/views/projects/merge_requests/widget/_heading.html.haml
View file @
f93b876c
...
...
@@ -17,7 +17,7 @@
-
# TODO, remove in later versions when services like Jenkins will set CI status via Commit status API
.mr-widget-heading
-
%w[success skipped canceled failed running pending]
.
each
do
|
status
|
.ci_widget
{
class:
"ci-#{status}"
,
style:
"display:none"
}
.ci_widget
{
class:
"ci-#{status}
ci-status-icon-#{status}
"
,
style:
"display:none"
}
=
ci_icon_for_status
(
status
)
%span
CI build
...
...
changelogs/unreleased/25898-ci-icon-color-mr.yml
0 → 100644
View file @
f93b876c
---
title
:
Adds CSS class to status icon on MR widget to prevent non-colored icon
merge_request
:
8219
author
:
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