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

_project_hook.html.haml « integrations « settings « projects « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: ef445f2e1398ffe97390780e489f3358d4e55627 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
%li
  .row
    .col-md-8.col-lg-7
      %strong.light-header= hook.url
      %div
        - ProjectHook.triggers.each_value do |event|
          - if hook.public_send(event)
            %span.badge.badge-gray.deploy-project-label= event.to_s.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 _('Edit'), edit_project_hook_path(@project, hook), class: 'btn btn-sm'
      = render 'shared/web_hooks/test_button', triggers: ProjectHook.triggers, hook: hook, button_class: 'btn-sm'
      = link_to project_hook_path(@project, hook), data: { confirm: _('Are you sure?') }, method: :delete, class: 'btn btn-transparent' do
        %span.sr-only= _("Remove")
        = icon('trash')