2018-08-29 17:09:48 +02:00
|
|
|
|
- content_for(:title, "Résumé · Dossier nº #{@dossier.id} (#{@dossier.procedure.libelle})")
|
|
|
|
|
|
2018-09-06 17:42:51 +02:00
|
|
|
|
- content_for :footer do
|
2018-09-12 13:24:14 +02:00
|
|
|
|
= render partial: "new_user/dossiers/dossier_footer", locals: { dossier: @dossier }
|
2018-09-06 17:42:51 +02:00
|
|
|
|
|
2018-08-08 17:09:02 +02:00
|
|
|
|
#dossier-show
|
|
|
|
|
= render partial: 'new_user/dossiers/show/header', locals: { dossier: @dossier }
|
2018-08-10 16:17:19 +02:00
|
|
|
|
|
2018-08-14 12:04:09 +02:00
|
|
|
|
.container
|
2018-09-05 11:50:43 +02:00
|
|
|
|
= render partial: 'new_user/dossiers/show/status_overview', locals: { dossier: @dossier }
|
2018-09-11 18:40:10 +02:00
|
|
|
|
|
|
|
|
|
- latest_message = @dossier.commentaires.last
|
|
|
|
|
- if latest_message.present?
|
|
|
|
|
.latest-message-section
|
|
|
|
|
%h3.tab-title Dernier message
|
|
|
|
|
|
|
|
|
|
.message.inverted-background
|
|
|
|
|
= render partial: "shared/dossiers/messages/message", locals: { commentaire: latest_message, connected_user: current_user, messagerie_seen_at: nil }
|
|
|
|
|
|
|
|
|
|
= link_to commentaire_answer_action(latest_message, current_user), messagerie_dossier_url(@dossier, anchor: 'new_commentaire'), class: 'button send'
|