Merge pull request #8630 from demarches-simplifiees/harmonize-actions-for-instructeurs
[instructeurs] Uniformiser les actions pour les instructeurs sur la page tableau et dossier
This commit is contained in:
commit
54f17ad3c7
30 changed files with 399 additions and 381 deletions
|
@ -3,9 +3,24 @@
|
|||
%tr
|
||||
%td.libelle Déposé le :
|
||||
%td= l(dossier.depose_at, format: '%d %B %Y')
|
||||
|
||||
- if dossier.justificatif_motivation.attached?
|
||||
%tr
|
||||
%td.libelle Justificatif :
|
||||
%td
|
||||
.action
|
||||
= render Attachment::ShowComponent.new(attachment: dossier.justificatif_motivation.attachment)
|
||||
|
||||
- if dossier.motivation.present?
|
||||
%tr
|
||||
%td.libelle Motivation :
|
||||
%td
|
||||
.action
|
||||
= dossier.motivation
|
||||
|
||||
- if dossier.attestation.present?
|
||||
%tr
|
||||
%td.libelle Attestation :
|
||||
%td
|
||||
.action
|
||||
= link_to('Voir l’attestation', attestation_instructeur_dossier_path(dossier.procedure, dossier), target: '_blank', rel: 'noopener')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue