demarches-normaliennes/app/views/administration_mailer/dubious_procedures.html.haml
2018-05-30 14:21:41 +02:00

18 lines
688 B
Text
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

- content_for(:title, 'Liste de procédures douteuses')
- if @procedures_and_type_de_champs.any?
%ul
- @procedures_and_type_de_champs.each do |procedure, type_de_champs|
%li{ style: 'margin-bottom: 8px;' }
= link_to "Nº #{procedure.id},", manager_procedure_url(procedure)
 #{procedure.libelle} :
%b= type_de_champs.map(&:libelle).join(', ')
%br
État : #{procedure.aasm_state}
%br
Nombre de dossier : #{procedure.dossiers.count}
%br
Admin :
= link_to "#{procedure.administrateur.email}", "mailto:#{procedure.administrateur.email}"
- else
Il n'y a aucune procédure douteuse aujourd'hui