2020-06-22 11:09:27 -04:00
|
|
|
.row.gl-mt-7.gl-mb-3
|
2017-04-27 06:08:57 -04:00
|
|
|
.col-lg-3
|
2020-05-21 14:08:27 -04:00
|
|
|
%h4.gl-mt-0
|
2017-04-27 06:08:57 -04:00
|
|
|
Recent Deliveries
|
|
|
|
%p When an event in GitLab triggers a webhook, you can use the request details to figure out if something went wrong.
|
|
|
|
.col-lg-9
|
2021-04-30 05:10:21 -04:00
|
|
|
- if hook_logs.present?
|
2017-04-27 06:08:57 -04:00
|
|
|
%table.table
|
|
|
|
%thead
|
|
|
|
%tr
|
|
|
|
%th Status
|
|
|
|
%th Trigger
|
|
|
|
%th URL
|
|
|
|
%th Elapsed time
|
|
|
|
%th Request time
|
|
|
|
%th
|
|
|
|
- hook_logs.each do |hook_log|
|
|
|
|
%tr
|
|
|
|
%td
|
|
|
|
= render partial: 'shared/hook_logs/status_label', locals: { hook_log: hook_log }
|
2018-04-09 17:50:40 -04:00
|
|
|
%td.d-none.d-sm-block
|
2018-04-13 15:46:38 -04:00
|
|
|
%span.badge.badge-gray.deploy-project-label
|
2017-04-27 06:08:57 -04:00
|
|
|
= hook_log.trigger.singularize.titleize
|
|
|
|
%td
|
|
|
|
= truncate(hook_log.url, length: 50)
|
|
|
|
%td.light
|
2017-11-02 04:04:07 -04:00
|
|
|
#{number_with_precision(hook_log.execution_duration, precision: 2)} sec
|
2017-04-27 06:08:57 -04:00
|
|
|
%td.light
|
|
|
|
= time_ago_with_tooltip(hook_log.created_at)
|
|
|
|
%td
|
2019-12-17 10:08:15 -05:00
|
|
|
= link_to 'View details', hook_log.present.details_path
|
2017-04-27 06:08:57 -04:00
|
|
|
|
|
|
|
= paginate hook_logs, theme: 'gitlab'
|
|
|
|
|
|
|
|
- else
|
|
|
|
.settings-message.text-center
|
|
|
|
You don't have any webhooks deliveries
|