improve wording and display for export page

This commit is contained in:
Lisa Durand 2023-09-18 17:06:18 +02:00 committed by Colin Darie
parent 282df1b44b
commit 58a143b2c7
No known key found for this signature in database
GPG key ID: 8C76CADD40253590
6 changed files with 15 additions and 12 deletions

View file

@ -6,7 +6,10 @@
[t('.title')]] }
.fr-container
%h1= title
%h1= t('.title')
= render Dsfr::CalloutComponent.new(title: nil) do |c|
- c.with_body do
%p= t('.export_description')
- if @exports.present?
= render Dossiers::ExportLinkComponent.new(procedure: @procedure, exports: @exports, statut: @statut, count: @dossiers_count, class_btn: 'fr-btn--tertiary', export_url: method(:download_export_instructeur_procedure_path))