remove badge supprimé and display state dossier badge

This commit is contained in:
Lisa Durand 2024-06-17 17:27:27 +02:00
parent 0bf1790682
commit 954ab39de8
No known key found for this signature in database
GPG key ID: 0DF91F2CA1E8B816
4 changed files with 0 additions and 11 deletions

View file

@ -20,9 +20,6 @@
= dossier.dossier_id = dossier.dossier_id
= status_badge(dossier.state, 'fr-mb-1w') = status_badge(dossier.state, 'fr-mb-1w')
%br
%span.fr-badge.fr-badge--sm.fr-badge--warning
= t('views.users.dossiers.dossiers_list.deleted_badge')
= paginate deleted_dossiers, views_prefix: 'shared' = paginate deleted_dossiers, views_prefix: 'shared'

View file

@ -45,12 +45,6 @@
= status_badge_user(dossier, 'fr-mb-1w') = status_badge_user(dossier, 'fr-mb-1w')
- if @statut == "dossiers-supprimes-recemment"
%br
%span.fr-badge.fr-badge--sm.fr-badge--warning
= t('views.users.dossiers.dossiers_list.deleted_badge')
- if dossier.pending_correction? - if dossier.pending_correction?
%br %br
= pending_correction_badge(:for_user) = pending_correction_badge(:for_user)

View file

@ -522,7 +522,6 @@ en:
updated_at: updated at %{date} updated_at: updated at %{date}
shared_with: File shared by %{owner} with shared_with: File shared by %{owner} with
deleted: Deleted at %{date} deleted: Deleted at %{date}
deleted_badge: Deleted
procedure_closed: procedure_closed:
brouillon: brouillon:
internal_procedure_html: This procedure is closed, you cannot submit this file. We invite you to submit a new one on the %{link} which replaces it internal_procedure_html: This procedure is closed, you cannot submit this file. We invite you to submit a new one on the %{link} which replaces it

View file

@ -541,7 +541,6 @@ fr:
deleted: Supprimé le %{date} deleted: Supprimé le %{date}
deleted_by_user: Supprimé le %{date} par l'usager deleted_by_user: Supprimé le %{date} par l'usager
deleted_by_automatic: Supprimé le %{date} automatiquement du à la date d'expiration deleted_by_automatic: Supprimé le %{date} automatiquement du à la date d'expiration
deleted_badge: Supprimé
dossier_action: dossier_action:
edit_dossier: "Modifier le dossier" edit_dossier: "Modifier le dossier"
start_other_dossier: "Commencer un autre dossier vide" start_other_dossier: "Commencer un autre dossier vide"