Skip to content

Commit

Permalink
remove badge supprimé and display state dossier badge
Browse files Browse the repository at this point in the history
  • Loading branch information
lisa-durand committed Jun 25, 2024
1 parent fd8d5c7 commit 983a198
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 11 deletions.
3 changes: 0 additions & 3 deletions app/views/users/dossiers/_deleted_dossiers_list.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,6 @@
= dossier.dossier_id

= 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'

Expand Down
6 changes: 0 additions & 6 deletions app/views/users/dossiers/_dossiers_list.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,6 @@

= 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?
%br
= pending_correction_badge(:for_user)
Expand Down
1 change: 0 additions & 1 deletion config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -506,7 +506,6 @@ en:
updated_at: updated at %{date}
shared_with: File shared by %{owner} with
deleted: Deleted at %{date}
deleted_badge: Deleted
procedure_closed:
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
Expand Down
1 change: 0 additions & 1 deletion config/locales/fr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -529,7 +529,6 @@ fr:
deleted: Supprimé le %{date}
deleted_by_user: Supprimé le %{date} par l'usager
deleted_by_automatic: Supprimé le %{date} automatiquement du à la date d'expiration
deleted_badge: Supprimé
dossier_action:
edit_dossier: "Modifier le dossier"
start_other_dossier: "Commencer un autre dossier vide"
Expand Down

0 comments on commit 983a198

Please sign in to comment.