2017-01-31 10:46:20 +01:00
|
|
|
.default_data_block{style:'margin-top: 40px'}
|
|
|
|
.row.show-block.clearfix#messages
|
|
|
|
.header
|
|
|
|
.col-xs-10.title
|
|
|
|
.carret-right
|
|
|
|
.carret-down
|
|
|
|
MESSAGERIE
|
|
|
|
|
|
|
|
.col-xs-2.count
|
2017-02-01 16:44:31 +01:00
|
|
|
= pluralize(@facade.commentaires.count, "message")
|
|
|
|
|
2017-01-31 10:46:20 +01:00
|
|
|
.alert.alert-info
|
|
|
|
Cette messagerie permet d'échanger entre le demandeur et le service instructeur.
|
2017-02-01 14:24:24 +01:00
|
|
|
.body.display-block-on-print
|
2017-01-31 10:46:20 +01:00
|
|
|
- if dossier_facade.commentaires.any?
|
|
|
|
.commentaires
|
2017-02-01 16:44:31 +01:00
|
|
|
= render partial: 'dossiers/commentaires/commentaire', collection: dossier_facade.commentaires.object.sort
|
2017-01-31 10:46:20 +01:00
|
|
|
.split-hr
|
2017-02-01 14:24:24 +01:00
|
|
|
#new-commentaire.hidden-print
|
2017-02-01 16:44:31 +01:00
|
|
|
= render partial: 'dossiers/commentaires/form', locals: { dossier_facade: @facade }
|
2017-01-31 10:46:20 +01:00
|
|
|
|
2017-02-01 14:24:24 +01:00
|
|
|
.last-commentaire.clearfix.hidden-print
|
2017-01-31 10:46:20 +01:00
|
|
|
- if last_comment = dossier_facade.commentaires.first
|
|
|
|
%div
|
|
|
|
DERNIER MESSAGE
|
2017-02-01 16:44:31 +01:00
|
|
|
= render partial: 'dossiers/commentaires/commentaire', object: last_comment
|
|
|
|
|
2017-01-31 10:46:20 +01:00
|
|
|
#open-message.new-action
|
|
|
|
ENVOYER UN MESSAGE
|