summaryrefslogtreecommitdiff
path: root/app/views/shared
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-08-03 03:09:00 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2022-08-03 03:09:00 +0000
commit87d729969a374e27282e43af18fc6a9d61810813 (patch)
tree6f5c1bd1574d317395e857daab363f3613c9b586 /app/views/shared
parent1b10a6d769a97e4a2e5a65d8b7f3cb9c6d44e260 (diff)
downloadgitlab-ce-87d729969a374e27282e43af18fc6a9d61810813.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/views/shared')
-rw-r--r--app/views/shared/hook_logs/_index.html.haml11
1 files changed, 11 insertions, 0 deletions
diff --git a/app/views/shared/hook_logs/_index.html.haml b/app/views/shared/hook_logs/_index.html.haml
new file mode 100644
index 00000000000..6a46b0b3510
--- /dev/null
+++ b/app/views/shared/hook_logs/_index.html.haml
@@ -0,0 +1,11 @@
+- docs_link_url = help_page_path('user/project/integrations/webhooks', anchor: 'troubleshoot-webhooks')
+- link_start = '<a href="%{url}" target="_blank" rel="noopener noreferrer">'.html_safe % { url: docs_link_url }
+- link_end = '</a>'.html_safe
+
+.row.gl-mt-3.gl-mb-3
+ .col-lg-3
+ %h4.gl-mt-0
+ = _('Recent events')
+ %p= _('GitLab events trigger webhooks. Use the request details of a webhook to help troubleshoot problems. %{link_start}How do I troubleshoot?%{link_end}').html_safe % { link_start: link_start, link_end: link_end }
+ .col-lg-9
+ = render partial: 'shared/hook_logs/recent_deliveries_table', locals: { hook: hook, hook_logs: hook_logs }