summaryrefslogtreecommitdiff
path: root/app/views/admin
diff options
context:
space:
mode:
authorBob Van Landuyt <bob@gitlab.com>2017-05-11 11:41:36 +0200
committerBob Van Landuyt <bob@gitlab.com>2017-05-15 14:27:01 +0200
commitcac7e03fa1cb39a685bcde87d4d67fb17c4f48f2 (patch)
treed92728e5704a9409a372aff7a8f22b32c436caf3 /app/views/admin
parent6c6d2bf047f8694e8b58db0feea6a3f320c372de (diff)
downloadgitlab-ce-cac7e03fa1cb39a685bcde87d4d67fb17c4f48f2.tar.gz
Rename `build_events` to `job_events` in code
Diffstat (limited to 'app/views/admin')
-rw-r--r--app/views/admin/hooks/index.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/admin/hooks/index.html.haml b/app/views/admin/hooks/index.html.haml
index 3338b677bf5..e92b8bc39f4 100644
--- a/app/views/admin/hooks/index.html.haml
+++ b/app/views/admin/hooks/index.html.haml
@@ -27,7 +27,7 @@
= link_to 'Remove', admin_hook_path(hook), data: { confirm: 'Are you sure?' }, method: :delete, class: 'btn btn-remove btn-sm'
.monospace= hook.url
%div
- - %w(repository_update_events push_events tag_push_events issues_events note_events merge_requests_events build_events).each do |trigger|
+ - %w(repository_update_events push_events tag_push_events issues_events note_events merge_requests_events job_events).each do |trigger|
- if hook.send(trigger)
%span.label.label-gray= trigger.titleize
%span.label.label-gray SSL Verification: #{hook.enable_ssl_verification ? 'enabled' : 'disabled'}