chore(exports): minor wording improvements and clarifications

This commit is contained in:
Colin Darie 2023-09-21 13:59:14 +02:00
parent ec46faf690
commit d9687f7418
No known key found for this signature in database
GPG key ID: 8C76CADD40253590
12 changed files with 36 additions and 54 deletions

View file

@ -9,7 +9,7 @@
%h1= t('.title')
= render Dsfr::CalloutComponent.new(title: nil) do |c|
- c.with_body do
%p= t('.export_description')
%p= t('.export_description', expiration_time: Export::MAX_DUREE_CONSERVATION_EXPORT.in_hours.to_i)
- if @exports.present?
%div{ data: @exports.any?(&:pending?) ? { controller: "turbo-poll", turbo_poll_url_value: "", turbo_poll_interval_value: 10_000, turbo_poll_max_checks_value: 6 } : {} }