summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorShinya Maeda <gitlab.shinyamaeda@gmail.com>2017-03-11 19:56:05 +0900
committerShinya Maeda <gitlab.shinyamaeda@gmail.com>2017-03-23 17:11:49 +0900
commit74f13e0ddf1d7adb14fd4df9dd95519498157013 (patch)
tree03a073b5687865c7806fd7651f80461a2524bece /lib
parent38b1ec2cc04e850ff4898615cf9596de0f6235e1 (diff)
downloadgitlab-ce-74f13e0ddf1d7adb14fd4df9dd95519498157013.tar.gz
Fix unchanged structure. Add favicon for 'failed_allowed' and 'success_warning' because it'll be used.
Diffstat (limited to 'lib')
-rw-r--r--lib/gitlab/ci/status/build/failed_allowed.rb4
-rw-r--r--lib/gitlab/ci/status/success_warning.rb4
2 files changed, 8 insertions, 0 deletions
diff --git a/lib/gitlab/ci/status/build/failed_allowed.rb b/lib/gitlab/ci/status/build/failed_allowed.rb
index 807afe24bd5..8693bd5849f 100644
--- a/lib/gitlab/ci/status/build/failed_allowed.rb
+++ b/lib/gitlab/ci/status/build/failed_allowed.rb
@@ -13,6 +13,10 @@ module Gitlab
'icon_status_warning'
end
+ def favicon
+ 'favicon_status_warning'
+ end
+
def group
'failed_with_warnings'
end
diff --git a/lib/gitlab/ci/status/success_warning.rb b/lib/gitlab/ci/status/success_warning.rb
index d4cdab6957a..9b735ed235a 100644
--- a/lib/gitlab/ci/status/success_warning.rb
+++ b/lib/gitlab/ci/status/success_warning.rb
@@ -20,6 +20,10 @@ module Gitlab
'icon_status_warning'
end
+ def favicon
+ 'favicon_status_warning'
+ end
+
def group
'success_with_warnings'
end