32 lines
1.1 KiB
Text
32 lines
1.1 KiB
Text
|
.container
|
||
|
%h1.page-title Mes dossiers
|
||
|
|
||
|
%table.table.dossiers-table.hoverable
|
||
|
%thead
|
||
|
%tr
|
||
|
%th
|
||
|
%th.number-col Nº dossier
|
||
|
%th Procédure
|
||
|
%th.status-col Statut
|
||
|
%th.updated-at-col Mis à jour
|
||
|
%tbody
|
||
|
- @dossiers.each do |dossier|
|
||
|
%tr
|
||
|
%td.folder-col
|
||
|
= link_to(modifier_dossier_path(dossier), class: 'cell-link') do
|
||
|
%span.icon.folder
|
||
|
%td.number-col
|
||
|
= link_to(modifier_dossier_path(dossier), class: 'cell-link') do
|
||
|
= dossier.id
|
||
|
%td
|
||
|
= link_to(modifier_dossier_path(dossier), class: 'cell-link') do
|
||
|
= dossier.procedure.libelle
|
||
|
%td.status-col
|
||
|
= link_to(modifier_dossier_path(dossier), class: 'cell-link') do
|
||
|
= render partial: 'shared/dossiers/status', locals: { dossier: dossier }
|
||
|
%td.updated-at-col
|
||
|
= link_to(modifier_dossier_path(dossier), class: 'cell-link') do
|
||
|
= dossier.updated_at.localtime.strftime("%d/%m/%Y")
|
||
|
|
||
|
= paginate(@dossiers)
|