demarches-normaliennes/app/views/administrateurs/archives/index.html.haml

15 lines
773 B
Text
Raw Normal View History

= render partial: 'administrateurs/breadcrumbs',
locals: { steps: [link_to('Démarches', admin_procedures_path),
link_to(@procedure.libelle, admin_procedure_path(@procedure)),
'Export et Archives'] }
.container
%h1.mb-2
Archives
-# index not renderable as administrateur flagged as manager, so render it anyway
2022-07-04 16:13:15 +02:00
= render Dossiers::ExportComponent.new(procedure: @procedure, exports: @exports, export_url: method(:download_admin_procedure_exports_path))
= render partial: "shared/archives/notice"
= render partial: "shared/archives/table", locals: {count_dossiers_termines_by_month: @count_dossiers_termines_by_month, archives: @archives, average_dossier_weight: @average_dossier_weight, procedure: @procedure }