summaryrefslogtreecommitdiff
path: root/app/views/admin
diff options
context:
space:
mode:
authorClement Ho <ClemMakesApps@gmail.com>2018-04-13 14:46:38 -0500
committerClement Ho <ClemMakesApps@gmail.com>2018-04-13 14:47:25 -0500
commit43de46e28aa023a71ba0dd0c61795773baaf4cc6 (patch)
tree98fe3256c0d95afe86225f823f6da35f0bfacdab /app/views/admin
parent1968191c523f1ee45e4f7eac75b435df61b75398 (diff)
downloadgitlab-ce-43de46e28aa023a71ba0dd0c61795773baaf4cc6.tar.gz
[skip ci] convert label-gray and label-inverse to badge-gray and badge-inverse
Diffstat (limited to 'app/views/admin')
-rw-r--r--app/views/admin/hook_logs/_index.html.haml2
-rw-r--r--app/views/admin/hooks/index.html.haml4
2 files changed, 3 insertions, 3 deletions
diff --git a/app/views/admin/hook_logs/_index.html.haml b/app/views/admin/hook_logs/_index.html.haml
index d10826a20d2..1d7c9930b6a 100644
--- a/app/views/admin/hook_logs/_index.html.haml
+++ b/app/views/admin/hook_logs/_index.html.haml
@@ -19,7 +19,7 @@
%td
= render partial: 'shared/hook_logs/status_label', locals: { hook_log: hook_log }
%td.d-none.d-sm-block
- %span.badge.label-gray.deploy-project-label
+ %span.badge.badge-gray.deploy-project-label
= hook_log.trigger.singularize.titleize
%td
= truncate(hook_log.url, length: 50)
diff --git a/app/views/admin/hooks/index.html.haml b/app/views/admin/hooks/index.html.haml
index 97600a566fe..87f9b0e86a7 100644
--- a/app/views/admin/hooks/index.html.haml
+++ b/app/views/admin/hooks/index.html.haml
@@ -29,7 +29,7 @@
%div
- SystemHook.triggers.each_value do |event|
- if hook.public_send(event)
- %span.badge.label-gray= event.to_s.titleize
- %span.badge.label-gray SSL Verification: #{hook.enable_ssl_verification ? 'enabled' : 'disabled'}
+ %span.badge.badge-gray= event.to_s.titleize
+ %span.badge.badge-gray SSL Verification: #{hook.enable_ssl_verification ? 'enabled' : 'disabled'}
= render 'shared/plugins/index'