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:
authorJose Ivan Vargas <jvargas@gitlab.com>2017-01-20 01:11:48 +0300
committerJose Ivan Vargas <jvargas@gitlab.com>2017-01-20 01:11:48 +0300
commit8f391fd373a3789b021d07bb23dc837e91c65da2 (patch)
tree2da3855c03b945b7d0db11e0b21e602ef171f879 /app/views/projects/settings
parent7b3ea49a4449686e512a5236c2d4073641afce77 (diff)
Renamed a file to make the transition to EE easier
Diffstat (limited to 'app/views/projects/settings')
-rw-r--r--app/views/projects/settings/integrations/_project_hook.html.haml15
1 files changed, 15 insertions, 0 deletions
diff --git a/app/views/projects/settings/integrations/_project_hook.html.haml b/app/views/projects/settings/integrations/_project_hook.html.haml
new file mode 100644
index 00000000000..ceabe2eab3d
--- /dev/null
+++ b/app/views/projects/settings/integrations/_project_hook.html.haml
@@ -0,0 +1,15 @@
+%li
+ .row
+ .col-md-8.col-lg-7
+ %strong.light-header= hook.url
+ %div
+ - %w(push_events tag_push_events issues_events confidential_issues_events note_events merge_requests_events build_events pipeline_events wiki_page_events).each do |trigger|
+ - if hook.send(trigger)
+ %span.label.label-gray.deploy-project-label= trigger.titleize
+ .col-md-4.col-lg-5.text-right-lg.prepend-top-5
+ %span.append-right-10.inline
+ SSL Verification: #{hook.enable_ssl_verification ? "enabled" : "disabled"}
+ = link_to "Test", test_namespace_project_hook_path(@project.namespace, @project, hook), class: "btn btn-sm"
+ = link_to namespace_project_hook_path(@project.namespace, @project, hook), data: { confirm: 'Are you sure?'}, method: :delete, class: "btn btn-transparent" do
+ %span.sr-only Remove
+ = icon('trash')