refactor(UI): add file extension and number to preview
This commit is contained in:
parent
2dffa9aaa2
commit
4a900d8121
1 changed files with 6 additions and 6 deletions
|
@ -1,17 +1,17 @@
|
||||||
#preview.export-template-preview.fr-p-2w.sticky--top
|
#preview.export-template-preview.fr-p-2w.sticky--top
|
||||||
%h2.fr-h4 Aperçu
|
%h2.fr-h4 Aperçu
|
||||||
%ul.tree.fr-text--sm
|
%ul.tree.fr-text--sm
|
||||||
%li= DownloadableFileService::EXPORT_DIRNAME
|
%li #{DownloadableFileService::EXPORT_DIRNAME}/
|
||||||
%li
|
%li
|
||||||
%ul
|
%ul
|
||||||
%li
|
%li
|
||||||
%span#preview_default_dossier_directory= export_template.tiptap_convert(dossier, "default_dossier_directory")
|
%span#preview_default_dossier_directory #{export_template.tiptap_convert(dossier, "default_dossier_directory")}/
|
||||||
%ul
|
%ul
|
||||||
%li#preview_pdf_name= export_template.tiptap_convert(dossier, "pdf_name")
|
%li#preview_pdf_name #{export_template.tiptap_convert(dossier, "pdf_name")}.pdf
|
||||||
- procedure.exportables_pieces_jointes.each do |pj|
|
- procedure.exportables_pieces_jointes.each do |pj|
|
||||||
%li{ id: "preview_pj_#{pj.stable_id}" }= export_template.tiptap_convert_pj(dossier, pj.stable_id)
|
%li{ id: "preview_pj_#{pj.stable_id}" } #{export_template.tiptap_convert_pj(dossier, pj.stable_id)}-1.jpg
|
||||||
%ul
|
%ul
|
||||||
%li
|
%li
|
||||||
%span messagerie
|
%span messagerie/
|
||||||
%ul
|
%ul
|
||||||
%li un-autre-fichier
|
%li un-autre-fichier.png
|
||||||
|
|
Loading…
Reference in a new issue