fix(export): when it takes more than 3 hours, exports are purge before being generated. make it possible to have an export that takes more than 3 hours and share this behaviour with kind of same class archive
This commit is contained in:
parent
051e912a91
commit
3e56fdd1d7
19 changed files with 106 additions and 70 deletions
|
@ -11,7 +11,7 @@
|
|||
%li
|
||||
- if export.nil?
|
||||
= link_to t(".everything_#{item[:format]}_html"), download_export_path(export_format: item[:format]), data: { turbo_method: :post }
|
||||
- elsif export.ready?
|
||||
- elsif export.available?
|
||||
= link_to ready_link_label(export), export.file.service_url, target: "_blank", rel: "noopener"
|
||||
- if export.old?
|
||||
= button_to download_export_path(export_format: export.format, force_export: true), **refresh_button_options(export) do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue