demarches-normaliennes/app/views/instructeurs/dossiers/_decisions_rendues_block.html.haml
2021-11-16 19:00:20 +03:00

13 lines
517 B
Text
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

.tab-title Décisions rendues
- if traitements.any?
%ul.tab-list
- traitements.each do |traitement|
%li
- processed_at = l(traitement.processed_at, format: '%d %B %Y à %R')
- if traitement.instructeur_email.present?
= t(".with_email.#{traitement.state}", processed_at: processed_at, email: traitement.instructeur_email)
- else
= t(".without_email.#{traitement.state}", processed_at: processed_at)
- else
%p.tab-paragraph Aucune décision na été rendue