stable

Clone or download

Read-only

feat: Display submenu when more than one template

If there is no template, then no print menu. If there is one template, then document can be directly printed. If there is more than two templates, then user must choose wich template to choose to print. No functional changes in admin print preview. Part of story #38630: Export to file Change-Id: I9bea9414fdc472de25b33659f3df1722b2450408

Modified Files

Name
M lib/frontend/print-as-pdf/src/print-as-pdf.ts +1 −0 Go to diff View file
M plugins/artidoc/scripts/artidoc/po/fr_FR.po +3 −0 Go to diff View file
A plugins/artidoc/scripts/artidoc/src/components/export/pdf/PdfExportMenuItem.test.ts +79 −0 Go to diff View file
M plugins/artidoc/scripts/artidoc/src/components/export/pdf/PdfExportMenuItem.vue +64 −8 Go to diff View file
M plugins/pdftemplate/include/PdfTemplate/Admin/index.mustache +1 −1 Go to diff View file
M plugins/pdftemplate/scripts/admin/src/initiate-print-preview.ts +1 −0 Go to diff View file