2020-07-28 23:09:34 +05:30
|
|
|
- page_title _('Request details')
|
2022-07-23 23:45:48 +05:30
|
|
|
%h1.page-title.gl-font-size-h-display
|
2020-10-24 23:57:45 +05:30
|
|
|
= _("Request details")
|
2017-09-10 17:25:29 +05:30
|
|
|
|
|
|
|
%hr
|
|
|
|
|
2022-07-23 23:45:48 +05:30
|
|
|
- if @hook_log.oversize?
|
2023-03-04 22:38:38 +05:30
|
|
|
- tooltip = _("Request data is too large")
|
|
|
|
= render Pajamas::ButtonComponent.new(disabled: true, button_options: { class: 'gl-float-right gl-ml-3 has-tooltip', title: tooltip }) do
|
|
|
|
= _("Resend Request")
|
2022-07-23 23:45:48 +05:30
|
|
|
- else
|
2023-03-04 22:38:38 +05:30
|
|
|
= render Pajamas::ButtonComponent.new(href: retry_admin_hook_hook_log_path(@hook, @hook_log), method: :post, button_options: { class: 'gl-float-right gl-ml-3' }) do
|
|
|
|
= _("Resend Request")
|
2017-09-10 17:25:29 +05:30
|
|
|
|
|
|
|
= render partial: 'shared/hook_logs/content', locals: { hook_log: @hook_log }
|