2020-07-28 23:09:34 +05:30
|
|
|
.row.gl-mt-3.gl-mb-3
|
2017-09-10 17:25:29 +05:30
|
|
|
.col-lg-3
|
2020-06-23 00:09:42 +05:30
|
|
|
%h4.gl-mt-0
|
2021-04-29 21:17:54 +05:30
|
|
|
= _('Recent Deliveries')
|
|
|
|
%p= _('When an event in GitLab triggers a webhook, you can use the request details to figure out if something went wrong.')
|
2017-09-10 17:25:29 +05:30
|
|
|
.col-lg-9
|
|
|
|
- if hook_logs.any?
|
|
|
|
%table.table
|
|
|
|
%thead
|
|
|
|
%tr
|
2021-04-29 21:17:54 +05:30
|
|
|
%th= _('Status')
|
|
|
|
%th= _('Trigger')
|
|
|
|
%th= _('URL')
|
|
|
|
%th= _('Elapsed time')
|
|
|
|
%th= _('Request time')
|
2017-09-10 17:25:29 +05:30
|
|
|
%th
|
|
|
|
- hook_logs.each do |hook_log|
|
|
|
|
%tr
|
|
|
|
%td
|
|
|
|
= render partial: 'shared/hook_logs/status_label', locals: { hook_log: hook_log }
|
2018-11-08 19:23:39 +05:30
|
|
|
%td.d-none.d-sm-block
|
|
|
|
%span.badge.badge-gray.deploy-project-label
|
2017-09-10 17:25:29 +05:30
|
|
|
= hook_log.trigger.singularize.titleize
|
|
|
|
%td
|
|
|
|
= truncate(hook_log.url, length: 50)
|
|
|
|
%td.light
|
2018-03-17 18:26:18 +05:30
|
|
|
#{number_with_precision(hook_log.execution_duration, precision: 2)} sec
|
2017-09-10 17:25:29 +05:30
|
|
|
%td.light
|
|
|
|
= time_ago_with_tooltip(hook_log.created_at)
|
|
|
|
%td
|
2021-04-29 21:17:54 +05:30
|
|
|
= link_to _('View details'), admin_hook_hook_log_path(hook, hook_log)
|
2017-09-10 17:25:29 +05:30
|
|
|
|
|
|
|
= paginate hook_logs, theme: 'gitlab'
|
|
|
|
|
|
|
|
- else
|
|
|
|
.settings-message.text-center
|
2021-04-29 21:17:54 +05:30
|
|
|
= _("You don't have any webhooks deliveries")
|