diff options
author | Dmitriy Zaporozhets <dzaporozhets@gitlab.com> | 2015-03-19 20:21:20 +0300 |
---|---|---|
committer | Marin Jankovski <maxlazio@gmail.com> | 2015-03-19 20:29:48 +0300 |
commit | ab83fb992b70b29d92f7605d4ed66c042b56dfee (patch) | |
tree | c3b3441d026d4919a3a1835b1faccf029338d4d1 /app/assets | |
parent | 1ea6b05e87bacfca0d1cbaf0c9db1833258d64c3 (diff) |
Merge branch 'add_canceled_ci_status' into 'master'
Add canceled CI status
Fixes https://github.com/gitlabhq/gitlab-ci/issues/564
https://dev.gitlab.org/gitlab/gitlab-ci/issues/169
![Screen_Shot_2015-03-19_at_17.10.08](https://dev.gitlab.org/gitlab/gitlabhq/uploads/87f47d9fd1b1a60e0c5402eedd1a1566/Screen_Shot_2015-03-19_at_17.10.08.png)
See merge request !1729
Diffstat (limited to 'app/assets')
-rw-r--r-- | app/assets/javascripts/merge_request.js.coffee | 2 | ||||
-rw-r--r-- | app/assets/stylesheets/pages/merge_requests.scss | 6 |
2 files changed, 7 insertions, 1 deletions
diff --git a/app/assets/javascripts/merge_request.js.coffee b/app/assets/javascripts/merge_request.js.coffee index 1fee9dc1892..10462ac073d 100644 --- a/app/assets/javascripts/merge_request.js.coffee +++ b/app/assets/javascripts/merge_request.js.coffee @@ -110,7 +110,7 @@ class @MergeRequest showCiState: (state) -> $('.ci_widget').hide() - allowed_states = ["failed", "running", "pending", "success"] + allowed_states = ["failed", "canceled", "running", "pending", "success"] if state in allowed_states $('.ci_widget.ci-' + state).show() else diff --git a/app/assets/stylesheets/pages/merge_requests.scss b/app/assets/stylesheets/pages/merge_requests.scss index fe5667a587f..592b0b729f3 100644 --- a/app/assets/stylesheets/pages/merge_requests.scss +++ b/app/assets/stylesheets/pages/merge_requests.scss @@ -155,6 +155,12 @@ background-color: #FAF1F1; } + &.ci-canceled { + color: $gl-warning; + border-color: $gl-danger; + background-color: #FAF5F1; + } + &.ci-error { color: $gl-danger; border-color: $gl-danger; |