debian-mirror-gitlab/app/views/shared/web_hooks/_test_button.html.haml

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

6 lines
228 B
Text
Raw Normal View History

2017-09-10 17:25:29 +05:30
- hook = local_assigns.fetch(:hook)
2023-04-23 21:23:45 +05:30
- size = local_assigns.fetch(:size, 'medium')
- triggers = hook.class.triggers.each_value
2017-09-10 17:25:29 +05:30
2023-04-23 21:23:45 +05:30
.js-webhook-test-dropdown{ data: { items: webhook_test_items(hook, triggers).to_json, size: size } }