[Fix #1403] Apply dossier index style to recherche
This commit is contained in:
parent
3cad63b7b2
commit
9105e4e3f7
1 changed files with 18 additions and 15 deletions
|
@ -9,18 +9,21 @@
|
|||
%table.table.dossiers-table.hoverable
|
||||
%thead
|
||||
%tr
|
||||
%th Nº
|
||||
%th.notification-col
|
||||
%th.number-col Nº dossier
|
||||
%th Procédure
|
||||
%th Demandeur
|
||||
%th Statut
|
||||
%th.status-col Statut
|
||||
%tbody
|
||||
- @dossiers.each do |dossier|
|
||||
/ # FIXME: here we have a n+1, we fire a request
|
||||
/ (due to dossier_linked_path) per result
|
||||
%tr
|
||||
%td.folder-col
|
||||
= link_to(dossier_linked_path(current_gestionnaire, dossier), class: 'cell-link') do
|
||||
%span.icon.folder
|
||||
%td.number-col
|
||||
= link_to(dossier_linked_path(current_gestionnaire, dossier), class: 'cell-link') do
|
||||
%span.icon.folder>
|
||||
= dossier.id
|
||||
%td= link_to(dossier.procedure.libelle, dossier_linked_path(current_gestionnaire, dossier), class: 'cell-link')
|
||||
%td= link_to(dossier.user.email, dossier_linked_path(current_gestionnaire, dossier), class: 'cell-link')
|
||||
|
|
Loading…
Add table
Reference in a new issue