debian-mirror-gitlab/app/views/projects/hook_logs/_index.html.haml

38 lines
1.2 KiB
Text
Raw Normal View History

2020-03-09 13:42:32 +05:30
.row.prepend-top-32.append-bottom-default
2017-09-10 17:25:29 +05:30
.col-lg-3
%h4.prepend-top-0
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
- if hook_logs.any?
%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-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
2020-01-01 13:55:28 +05:30
= link_to 'View details', hook_log.present.details_path
2017-09-10 17:25:29 +05:30
= paginate hook_logs, theme: 'gitlab'
- else
.settings-message.text-center
You don't have any webhooks deliveries