2015-09-22 10:15:12 +02:00
|
|
|
#backoffice
|
2015-09-24 18:12:08 +02:00
|
|
|
%h1 Gestion des dossiers
|
|
|
|
%br
|
|
|
|
%h3.text-danger À traiter
|
|
|
|
%table.table
|
|
|
|
%thead.row
|
|
|
|
%th.col-md-4.col-lg-4 Procédure
|
|
|
|
%th.col-md-4.col-lg-4 Dossier
|
|
|
|
%th.col-md-2.col-lg-2 État
|
|
|
|
%th.col-md-2.col-lg-2 Date de mise à jour
|
|
|
|
- @dossiers_a_traiter.each do |dossier|
|
|
|
|
%tr
|
|
|
|
%td= dossier.procedure.libelle
|
|
|
|
%td
|
|
|
|
= link_to(dossier.nom_projet, "/backoffice/dossiers/#{dossier.id}")
|
|
|
|
%td= dossier.state_fr
|
|
|
|
%td= dossier.last_update
|
2015-09-22 10:15:12 +02:00
|
|
|
|
2015-09-24 18:12:08 +02:00
|
|
|
%br
|
|
|
|
%h3.text-info En attente
|
|
|
|
%table.table
|
|
|
|
%thead
|
|
|
|
%th.col-md-4.col-lg-4 Procédure
|
|
|
|
%th.col-md-4.col-lg-4 Dossier
|
|
|
|
%th.col-md-2.col-lg-2 État
|
|
|
|
%th.col-md-2.col-lg-2 Date de mise à jour
|
|
|
|
- @dossiers_en_attente.each do |dossier|
|
|
|
|
%tr
|
|
|
|
%td= dossier.procedure.libelle
|
|
|
|
%td
|
|
|
|
= link_to(dossier.nom_projet, "/backoffice/dossiers/#{dossier.id}")
|
|
|
|
%td= dossier.state_fr
|
|
|
|
%td= dossier.last_update
|
2015-09-22 10:15:12 +02:00
|
|
|
|
2015-09-24 18:12:08 +02:00
|
|
|
%br
|
2015-09-24 18:33:10 +02:00
|
|
|
%h3.text-success Terminé
|
2015-09-22 10:15:12 +02:00
|
|
|
%table.table
|
|
|
|
%thead
|
2015-09-24 18:12:08 +02:00
|
|
|
%th.col-md-4.col-lg-4 Procédure
|
|
|
|
%th.col-md-4.col-lg-4 Dossier
|
|
|
|
%th.col-md-2.col-lg-2 État
|
|
|
|
%th.col-md-2.col-lg-2 Date de mise à jour
|
|
|
|
- @dossiers_termine.each do |dossier|
|
2015-09-22 11:56:14 +02:00
|
|
|
%tr
|
|
|
|
%td= dossier.procedure.libelle
|
2015-09-22 15:00:59 +02:00
|
|
|
%td
|
|
|
|
= link_to(dossier.nom_projet, "/backoffice/dossiers/#{dossier.id}")
|
2015-09-24 18:12:08 +02:00
|
|
|
%td= dossier.state_fr
|
|
|
|
%td= dossier.last_update
|