demarches-normaliennes/app/views/shared/dossiers/messages/_messagerie_disabled.html.haml
Nicolas Bouilleaud bd47bf2691 Disable Messagerie in archived Dossiers and procedures
* Use the existing Dossier#messagerie_available? method
* Raise when attempting to build a Commentaire if not messagerie_available?
* Disable the Messagerie form if not messagerie_available?
* Add tests :)
* Tweak the Horaires formatting while we’re here.
2019-07-01 09:39:39 +02:00

14 lines
361 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.

.card.feedback
.card-title
La messagerie est désormais désactivée.
%p
Pour poser une question sur ce dossier, contactez :
%p
= service.nom
%br
= service.organisme
%br
- horaires = "Horaires : #{formatted_horaires(service.horaires)}"
= simple_format(horaires)
%p
= link_to service.email, "mailto:#{service.email}"