Maj message quand messagerie désactivée
This commit is contained in:
parent
1083a756c9
commit
2f6b1fa302
3 changed files with 13 additions and 2 deletions
|
@ -40,6 +40,10 @@
|
||||||
.card-title {
|
.card-title {
|
||||||
margin-bottom: $default-spacer;
|
margin-bottom: $default-spacer;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
b {
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
p:not(:last-of-type) {
|
p:not(:last-of-type) {
|
||||||
|
|
|
@ -7,4 +7,4 @@
|
||||||
- if dossier.messagerie_available?
|
- if dossier.messagerie_available?
|
||||||
= render partial: "shared/dossiers/messages/form", locals: { commentaire: new_commentaire, form_url: form_url }
|
= render partial: "shared/dossiers/messages/form", locals: { commentaire: new_commentaire, form_url: form_url }
|
||||||
- else
|
- else
|
||||||
= render partial: "shared/dossiers/messages/messagerie_disabled", locals: { service: dossier.procedure.service }
|
= render partial: "shared/dossiers/messages/messagerie_disabled", locals: { service: dossier.procedure.service, dossier: dossier }
|
||||||
|
|
|
@ -12,4 +12,11 @@
|
||||||
- horaires = "Horaires : #{formatted_horaires(service.horaires)}"
|
- horaires = "Horaires : #{formatted_horaires(service.horaires)}"
|
||||||
= simple_format(horaires)
|
= simple_format(horaires)
|
||||||
%p
|
%p
|
||||||
= link_to service.email, "mailto:#{service.email}"
|
= mail_to service.email,
|
||||||
|
service.email,
|
||||||
|
subject: "[demarches-simplifiees.fr] Question sur le dossier Nº #{dossier.id} de la démarche Nº #{dossier.procedure.id}",
|
||||||
|
rel: "noopener noreferrer",
|
||||||
|
target: '_blank'
|
||||||
|
|
||||||
|
%p
|
||||||
|
Penser bien à préciser que votre demande concerne le <b>dossier Nº #{dossier.id}</b>.
|
||||||
|
|
Loading…
Add table
Reference in a new issue