User - Improve titles on listing pages

This commit is contained in:
Corinne Durrmeyer 2024-05-02 11:39:05 +02:00
parent 57c0fa0933
commit f0544d77e9
No known key found for this signature in database
GPG key ID: DDC049DDA35585B6
2 changed files with 4 additions and 4 deletions

View file

@ -1,12 +1,12 @@
- if deleted_dossiers.present? - if deleted_dossiers.present?
.fr-h6.fr-mb-2w %h2.fr-h6.fr-mb-2w
= page_entries_info deleted_dossiers = page_entries_info deleted_dossiers
- deleted_dossiers.each do |dossier| - deleted_dossiers.each do |dossier|
.card .card
.flex.justify-between .flex.justify-between
%div %div
%h2.card-title %h3.card-title
= dossier.procedure.libelle = dossier.procedure.libelle
%p.fr-icon--sm.fr-icon-delete-line.fr-mb-0 %p.fr-icon--sm.fr-icon-delete-line.fr-mb-0

View file

@ -1,12 +1,12 @@
- if dossiers.present? - if dossiers.present?
.fr-h6.fr-mb-2w %h2.fr-h6.fr-mb-2w
= page_entries_info dossiers = page_entries_info dossiers
- dossiers.each do |dossier| - dossiers.each do |dossier|
.card .card
.flex.justify-between .flex.justify-between
%div %div
%h2.card-title %h3.card-title
- if ["dossiers-transferes", "dossiers-supprimes-recemment"].exclude?(@statut) - if ["dossiers-transferes", "dossiers-supprimes-recemment"].exclude?(@statut)
= link_to(url_for_dossier(dossier), class: 'cell-link') do = link_to(url_for_dossier(dossier), class: 'cell-link') do
= dossier.procedure.libelle = dossier.procedure.libelle