2021-06-16 11:46:25 +02:00
|
|
|
<%= render_to_element('.procedure-actions', partial: "download_dossiers", locals: { procedure: @procedure, exports: @exports, dossier_count: @dossier_count }) %>
|
2020-01-29 12:16:38 +01:00
|
|
|
|
2021-06-16 11:46:25 +02:00
|
|
|
<% @exports.each do |format, exports| %>
|
|
|
|
<% exports.each do |time_span_type, export| %>
|
|
|
|
<% if !export.ready? %>
|
|
|
|
<%= fire_event('export:update', { url: download_export_instructeur_procedure_path(@procedure, export_format: format, time_span_type: time_span_type, no_progress_notification: true) }.to_json) %>
|
|
|
|
<% end %>
|
2020-01-29 12:16:38 +01:00
|
|
|
<% end %>
|
|
|
|
<% end %>
|
|
|
|
|
2020-04-02 16:06:00 +02:00
|
|
|
<%= render_flash %>
|