feat(archive): notice about files archiving in archives tab

This commit is contained in:
Colin Darie 2025-01-06 15:32:12 +01:00
parent bebdd0ed04
commit 005df1463a
No known key found for this signature in database
GPG key ID: 4FB865FDBCA4BCC4
3 changed files with 20 additions and 0 deletions

View file

@ -157,6 +157,14 @@
= paginate @filtered_sorted_paginated_ids, views_prefix: 'shared'
.fr-table__footer--end.flex-no-grow
- if @statut == "archives"
.fr-notice.fr-notice--warning
.fr-container--fluid.fr-px-2w
.fr-notice__body
%span.fr-notice__title= t('views.instructeurs.dossiers.archives_notice_title')
%span.fr-notice__desc
= t('views.instructeurs.dossiers.archives_notice_html', app_name: APPLICATION_NAME, duration_months: @procedure.duree_conservation_dossiers_dans_ds, doc_url: ARCHIVAGE_DOC_URL)
- else
%h2.empty-text
= t('views.instructeurs.dossiers.no_file')

View file

@ -410,6 +410,12 @@ en:
passer_en_instruction_blocked_by_pending_correction: |
It is not possible to switch to instruction while the file is awaiting correction.
If necessary, the instructor who requested the correction can delete the corresponding message.
archives_notice_title: Files archiving
archives_notice_html: |
These files will be deleted when their retention period in %{app_name} (%{duration_months} months) expires.
<a href="%{doc_url}" rel="external noopener" target="_blank" title="Documentation about files archiving" lang="fr">Learn more</a>
<br/>
To save and archive your files on your server, you must download them.
avis:
introduction_file_explaination: "File attached to the request for advice"
search:

View file

@ -412,6 +412,12 @@ fr:
passer_en_instruction_blocked_by_pending_correction: |
Le passage en instruction est impossible tant que le dossier est en attente de correction.
Si nécessaire, linstructeur ayant demandé la correction peut supprimer le message correspondant.
archives_notice_title: Archivage des dossiers
archives_notice_html: |
Ces dossiers seront supprimés lorsque leur délai de conservation dans %{app_name} (%{duration_months} mois) sera expiré.
<a href="%{doc_url}" rel="external noopener" target="_blank" title="Documentation sur larchivage des dossiers">En savoir plus</a>
<br/>
Pour sauvegarder et archiver vos dossiers sur votre serveur, vous devez les télécharger.
avis:
introduction_file_explaination: "Fichier joint à la demande davis"
search: