This commit is contained in:
Kara Diaby 2021-11-24 10:35:34 +01:00
parent 24ba7b6633
commit 2103f09be1
4 changed files with 22 additions and 5 deletions

View file

@ -100,8 +100,7 @@
%tbody
- @projected_dossiers.each do |p|
- path = instructeur_dossier_path(@procedure, p.dossier_id)
%tr
%tr{ class: [p.hidden_by_user_at.present? && "file-hidden-by-user"] }
%td.folder-col
%a.cell-link{ href: path }
%span.icon.folder
@ -113,7 +112,9 @@
- p.columns.each do |column|
%td
%a.cell-link{ href: path }= column
%a.cell-link{ href: path }
= column
= "- #{t('views.instructeurs.dossiers.deleted_by_user')}" if p.hidden_by_user_at.present?
%td.status-col
%a.cell-link{ href: path }= status_badge(p.state)