Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/admin/hooks/index.html.haml')
-rw-r--r--app/views/admin/hooks/index.html.haml37
1 files changed, 0 insertions, 37 deletions
diff --git a/app/views/admin/hooks/index.html.haml b/app/views/admin/hooks/index.html.haml
deleted file mode 100644
index 7a9dc113f2a..00000000000
--- a/app/views/admin/hooks/index.html.haml
+++ /dev/null
@@ -1,37 +0,0 @@
-%h3.page-title
- System hooks
-
-%p.light
- #{link_to "System hooks ", help_page_path("system_hooks", "system_hooks"), class: "vlink"} can be
- used for binding events when GitLab creates a User or Project.
-
-%hr
-
-
-= form_for @hook, as: :hook, url: admin_hooks_path, html: { class: 'form-horizontal' } do |f|
- -if @hook.errors.any?
- .alert.alert-danger
- - @hook.errors.full_messages.each do |msg|
- %p= msg
- .form-group
- = f.label :url, "URL:", class: 'control-label'
- .col-sm-10
- = f.text_field :url, class: "form-control"
- .form-actions
- = f.submit "Add System Hook", class: "btn btn-create"
-%hr
-
--if @hooks.any?
- .panel.panel-default
- .panel-heading
- System hooks (#{@hooks.count})
- %ul.well-list
- - @hooks.each do |hook|
- %li
- .list-item-name
- = link_to admin_hook_path(hook) do
- %strong= hook.url
-
- .pull-right
- = link_to 'Test Hook', admin_hook_test_path(hook), class: "btn btn-sm"
- = link_to 'Remove', admin_hook_path(hook), data: { confirm: 'Are you sure?' }, method: :delete, class: "btn btn-remove btn-sm"