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

_web_hook_disabled_alert.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: f8e2dc3d8ddd1cce271d3e5021a8d53249a02a72 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
- return unless show_project_hook_failed_callout?(project: @project)

- content_for :after_flash_content do
  = render Pajamas::AlertComponent.new(variant: :danger,
    title: s_('Webhooks|Webhook disabled'),
    alert_options: { class: 'gl-my-4 js-web-hook-disabled-callout',
                      data: { feature_id: Users::CalloutsHelper::WEB_HOOK_DISABLED, dismiss_endpoint: project_callouts_path, project_id: @project.id, defer_links: 'true'} }) do |c|
    = c.body do
      = s_('Webhooks|A webhook in this project was automatically disabled after being retried multiple times.')
      = succeed '.' do
        = link_to _('Learn more'), help_page_path('user/project/integrations/webhooks', anchor: 'troubleshooting'), target: '_blank', rel: 'noopener noreferrer'
    = c.actions do
      = link_to s_('Webhooks|Go to webhooks'), project_hooks_path(@project, anchor: 'webhooks-index'), class: 'btn gl-alert-action btn-confirm gl-button'