summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilipa Lacerda <filipa@gitlab.com>2016-11-28 11:34:02 +0000
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2016-12-13 11:49:03 +0100
commit605715067767572ff96964370d78e7b31083ddde (patch)
tree6e7bb4aca59ca83ee100a2e07efea08fc84c08e1
parent7d36c88916717646f583a95118a47a095ab449a0 (diff)
downloadgitlab-ce-605715067767572ff96964370d78e7b31083ddde.tar.gz
Adds manual action icon and case to show it
-rw-r--r--app/helpers/ci_status_helper.rb2
-rwxr-xr-xapp/views/shared/icons/_icon_status_manual.svg1
2 files changed, 3 insertions, 0 deletions
diff --git a/app/helpers/ci_status_helper.rb b/app/helpers/ci_status_helper.rb
index d9f5e01f0dc..eb2aeaa4628 100644
--- a/app/helpers/ci_status_helper.rb
+++ b/app/helpers/ci_status_helper.rb
@@ -48,6 +48,8 @@ module CiStatusHelper
'icon_status_created'
when 'skipped'
'icon_status_skipped'
+ when 'manual'
+ 'icon_status_manual'
else
'icon_status_canceled'
end
diff --git a/app/views/shared/icons/_icon_status_manual.svg b/app/views/shared/icons/_icon_status_manual.svg
new file mode 100755
index 00000000000..ffb00c6f443
--- /dev/null
+++ b/app/views/shared/icons/_icon_status_manual.svg
@@ -0,0 +1 @@
+<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M17.8571429,10 C17.8571429,5.71428571 14.2857143,2.14285714 10,2.14285714 C5.71428571,2.14285714 2.14285714,5.71428571 2.14285714,10 C2.14285714,14.2857143 5.71428571,17.8571429 10,17.8571429 C14.2857143,17.8571429 17.8571429,14.2857143 17.8571429,10 M0,10 C0,4.42857143 4.42857143,0 10,0 C15.5714286,0 20,4.42857143 20,10 C20,15.5714286 15.5714286,20 10,20 C4.42857143,20 0,15.5714286 0,10"/><path d="M15,10.9006211 L15,9.09937888 L13.875,8.91304348 C13.8125,8.66459627 13.6875,8.41614907 13.5,8.04347826 L14.1875,7.11180124 L12.875,5.80745342 L11.9375,6.49068323 C11.625,6.30434783 11.3125,6.18012422 11.0625,6.11801242 L10.9375,5 L9.125,5 L8.9375,6.11801242 C8.625,6.18012422 8.375,6.30434783 8.0625,6.49068323 L7.125,5.80745342 L5.8125,7.11180124 L6.4375,8.04347826 C6.25,8.35403727 6.1875,8.60248447 6.0625,8.91304348 L5,9.03726708 L5,10.8385093 L6.125,11.0248447 C6.1875,11.3354037 6.3125,11.5838509 6.5,11.8944099 L5.875,12.826087 L7.1875,14.1304348 L8.125,13.5093168 C8.375,13.6335404 8.6875,13.757764 9,13.8819876 L9.1875,15 L11.0625,15 L11.25,13.8819876 C11.5625,13.8198758 11.8125,13.6956522 12.125,13.5093168 L13.0625,14.1925466 L14.375,12.8881988 L13.6875,11.9565217 C13.875,11.6459627 14,11.3354037 14.0625,11.0869565 L15,10.9006211 L15,10.9006211 Z M10,11.8322981 C8.9375,11.8322981 8.125,11.0248447 8.125,9.9689441 C8.125,8.91304348 8.9375,8.10559006 10,8.10559006 C11.0625,8.10559006 11.875,8.91304348 11.875,9.9689441 C11.875,11.0248447 11.0625,11.8322981 10,11.8322981 L10,11.8322981 Z"/></svg>