[Fix #133] Improve the linked dossier informations displayed
This commit is contained in:
parent
f5c5ad532d
commit
a6d3ea8536
2 changed files with 4 additions and 3 deletions
|
@ -41,7 +41,9 @@
|
|||
- if champ.type_champ == 'dossier_link'
|
||||
- dossier = Dossier.includes(:procedure).find_by(id: champ.decorate.value)
|
||||
- if dossier
|
||||
= link_to(dossier.procedure.libelle, backoffice_dossier_path(champ.decorate.value), target: '_blank')
|
||||
= link_to("Dossier #{dossier.id}", backoffice_dossier_path(champ.decorate.value), target: '_blank')
|
||||
%br
|
||||
= dossier.text_summary
|
||||
- else
|
||||
Pas de dossier associé
|
||||
- else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue