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

_hook.html.haml « web_hooks « shared « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 34a6234096684910b4090148ed4ffc34ced68535 (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
        - hook.class.triggers.each_value do |trigger|
          - if hook.public_send(trigger)
            %span.badge.badge-gray.deploy-project-label= trigger.to_s.titleize
        %span.badge.badge-gray
          = _('SSL Verification:')
          = hook.enable_ssl_verification ? _('enabled') : _('disabled')

    .col-md-4.col-lg-5.text-right-md.prepend-top-5
      %span>= render 'shared/web_hooks/test_button', hook: hook, button_class: 'btn-sm append-right-8'
      %span>= link_to _('Edit'), edit_hook_path(hook), class: 'btn btn-sm append-right-8'
      = link_to _('Delete'), destroy_hook_path(hook), data: { confirm: _('Are you sure?') }, method: :delete, class: 'btn btn-sm'