style: remove obsolete usage of cell-link

This commit is contained in:
Colin Darie 2024-11-25 12:38:20 +01:00
parent dc8cc2eba8
commit 741ac527ef
No known key found for this signature in database
GPG key ID: 4FB865FDBCA4BCC4
5 changed files with 19 additions and 22 deletions

View file

@ -1,13 +1,13 @@
%td.fr-cell--numeric
%p.cell-link= p.dossier_id
%p= p.dossier_id
%td
%p.cell-link= procedure_libelle
%p= procedure_libelle
%td
%p.cell-link
%p
= user_email
= "- #{t('views.instructeurs.dossiers.deleted_by_administration')}" if p.hidden_by_administration_at.present?
%td
%p.cell-link.flex.column= status_badge(p.state)
%p.flex.column= status_badge(p.state)

View file

@ -37,16 +37,13 @@
%tr{ class: [p.hidden_by_administration_at.present? && "file-hidden-by-user"] }
- if instructeur_and_expert_dossier
%td.fr-cell--numeric
.cell-link.relative
.relative
= p.dossier_id
- if @notifications_dossier_ids.include?(p.dossier_id)
%span.notifications{ 'aria-label': 'notifications' }
%td
.cell-link= procedure_libelle
%td
.cell-link= user_email
%td
.cell-link.flex.column= status_badge(p.state)
%td= procedure_libelle
%td= user_email
%td.flex.column= status_badge(p.state)
- elsif hidden_by_administration
= render partial: "recherche/hidden_dossier", locals: {p: p, procedure_libelle: procedure_libelle, user_email: user_email}
@ -59,13 +56,13 @@
%span.notifications{ 'aria-label': 'notifications' }
%td
%a.cell-link{ href: path }= procedure_libelle
%a{ href: path }= procedure_libelle
%td
%a.cell-link{ href: path }= user_email
%a{ href: path }= user_email
%td
%a.cell-link.flex.column{ href: path }= status_badge(p.state)
%a.flex.column{ href: path }= status_badge(p.state)
- if instructeur_dossier && expert_dossier