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

16 lines
639 B
Text
Raw Normal View History

2020-04-08 14:13:33 +05:30
- @content_class = 'limit-container-width' unless fluid_layout
- add_to_breadcrumbs _('Webhook Settings'), namespace_project_hooks_path
- page_title _('Webhook Logs')
2022-07-23 23:45:48 +05:30
%h1.page-title.gl-font-size-h-display
2021-12-11 22:18:48 +05:30
= _("Request details")
%hr
2022-07-23 23:45:48 +05:30
- if @hook_log.oversize?
= button_tag _("Resend Request"), class: "btn gl-button btn-default float-right gl-ml-3 has-tooltip", disabled: true, title: _("Request data is too large")
- else
= link_to _("Resend Request"), @hook_log.present.retry_path, method: :post, class: "btn gl-button btn-default float-right gl-ml-3"
2021-12-11 22:18:48 +05:30
= render partial: 'shared/hook_logs/content', locals: { hook_log: @hook_log }