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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
636 B
Text
Raw Normal View History

2020-04-08 14:13:33 +05:30
- breadcrumb_title _('Webhook Settings')
- page_title _('Webhooks')
2023-07-09 08:55:56 +05:30
- @force_desktop_expanded_sidebar = true
2020-04-08 14:13:33 +05:30
2022-11-25 23:54:43 +05:30
.row.gl-mt-3.js-search-settings-section
2017-09-10 17:25:29 +05:30
.col-lg-4
2020-01-01 13:55:28 +05:30
= render 'shared/web_hooks/title_and_docs', hook: @hook
2017-08-17 22:00:37 +05:30
2020-07-28 23:09:34 +05:30
.col-lg-8.gl-mb-3
2023-01-13 00:05:48 +05:30
= gitlab_ui_form_for @hook, as: :hook, url: polymorphic_path([@project, :hooks]), html: { class: 'js-webhook-form' } do |f|
2017-08-17 22:00:37 +05:30
= render partial: 'shared/web_hooks/form', locals: { form: f, hook: @hook }
2023-01-13 00:05:48 +05:30
= f.submit _('Add webhook'), pajamas_button: true, data: { qa_selector: "create_webhook_button" }
2017-08-17 22:00:37 +05:30
2020-01-01 13:55:28 +05:30
= render 'shared/web_hooks/index', hooks: @hooks, hook_class: @hook.class