messagerie: add explanation for usagers

This commit is contained in:
Pierre de La Morinerie 2018-09-04 18:30:31 +02:00 committed by gregoirenovel
parent 21dc9f8109
commit fe13871380
2 changed files with 8 additions and 0 deletions

View file

@ -34,4 +34,8 @@
.button.edit-form {
float: right;
}
.messagerie-explanation {
margin-bottom: $default-padding * 2;
}
}

View file

@ -3,4 +3,8 @@
#dossier-show
= render partial: 'new_user/dossiers/show/header', locals: { dossier: @dossier }
.container
%p.messagerie-explanation
La messagerie vous permet de contacter linstructeur en charge de votre dossier.
= render partial: "shared/dossiers/messagerie", locals: { dossier: @dossier, user_email: current_user.email, messagerie_seen_at: nil, new_commentaire: @commentaire, form_url: commentaire_dossier_path(@dossier) }