2022-07-21 20:05:05 +02:00
|
|
|
-# not renderable as instructeur flagged as manager, so render it anyway
|
2022-05-11 16:11:34 +02:00
|
|
|
- if @can_download_dossiers
|
2022-05-17 17:54:41 +02:00
|
|
|
- if @statut.nil?
|
|
|
|
= turbo_stream.update_all '.procedure-actions' do
|
2022-07-04 16:13:15 +02:00
|
|
|
= render Dossiers::ExportComponent.new(procedure: @procedure, exports: @exports, export_url: method(:download_export_instructeur_procedure_path))
|
2022-05-17 17:54:41 +02:00
|
|
|
- else
|
|
|
|
= turbo_stream.update_all '.dossiers-export' do
|
2022-07-04 16:13:15 +02:00
|
|
|
= render Dossiers::ExportComponent.new(procedure: @procedure, exports: @exports, statut: @statut, count: @dossiers_count, export_url: method(:download_export_instructeur_procedure_path))
|