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

index.html.haml « hooks « projects « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 7d62a851aa1336982c4227a2fceb5165b7972fa1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
- @content_class = 'limit-container-width' unless fluid_layout
- breadcrumb_title _('Webhook Settings')
- page_title _('Webhooks')

.row.gl-mt-3
  .col-lg-4
    = render 'shared/web_hooks/title_and_docs', hook: @hook

  .col-lg-8.gl-mb-3
    = gitlab_ui_form_for @hook, as: :hook, url: polymorphic_path([@project, :hooks]) do |f|
      = render partial: 'shared/web_hooks/form', locals: { form: f, hook: @hook }
      = f.submit 'Add webhook', class: 'gl-button btn btn-confirm'

    = render 'shared/web_hooks/index', hooks: @hooks, hook_class: @hook.class