debian-mirror-gitlab/app/views/projects/hooks/_project_hook.html.haml

16 lines
872 B
Text
Raw Normal View History

2016-06-02 11:05:42 +05:30
%li
.row
.col-md-8.col-lg-7
%strong.light-header= hook.url
%div
2016-09-29 09:46:39 +05:30
- %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|
2016-06-02 11:05:42 +05:30
- 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')