stable

Clone or download

Read-only

feat: Display images library in template edition

That way the user can copy paste easily the url of the image to be used in header, footer, or styling. Part of story #38630: Export to file Change-Id: Ic959c5514e97f47fa76fcd40330388ea2c89be63

Modified Files

Name
M plugins/pdftemplate/include/PdfTemplate/Admin/DisplayPdfTemplateCreationFormController.php +8 −0 Go to diff View file
M plugins/pdftemplate/include/PdfTemplate/Admin/DisplayPdfTemplateCreationOrUpdateFormPresenter.php +36 −3 Go to diff View file
M plugins/pdftemplate/include/PdfTemplate/Admin/DisplayPdfTemplateDuplicateFormController.php +8 −0 Go to diff View file
M plugins/pdftemplate/include/PdfTemplate/Admin/DisplayPdfTemplateUpdateFormController.php +8 −0 Go to diff View file
M plugins/pdftemplate/include/PdfTemplate/Admin/create-or-update-template.mustache +59 −0 Go to diff View file
A plugins/pdftemplate/include/PdfTemplate/Image/DisplayImagePresenter.php +42 −0 Go to diff View file
M plugins/pdftemplate/include/pdftemplatePlugin.php +3 −0 Go to diff View file
M plugins/pdftemplate/scripts/admin/package.json +1 −0 Go to diff View file
M plugins/pdftemplate/scripts/admin/pnpm-lock.yaml +3 −0 Go to diff View file
M plugins/pdftemplate/scripts/admin/src/_images.scss +47 −0 Go to diff View file
M plugins/pdftemplate/scripts/admin/src/index.ts +2 −0 Go to diff View file
M plugins/pdftemplate/scripts/admin/src/initiate-code-editors.ts +1 −0 Go to diff View file
A plugins/pdftemplate/scripts/admin/src/initiate-copy-image-url.ts +48 −0 Go to diff View file
M plugins/pdftemplate/site-content/fr_FR/LC_MESSAGES/tuleap-pdftemplate.po +21 −0 Go to diff View file
M plugins/pdftemplate/tests/unit/PdfTemplate/Admin/DisplayPdfTemplateCreationFormControllerTest.php +4 −0 Go to diff View file
M plugins/pdftemplate/tests/unit/PdfTemplate/Admin/DisplayPdfTemplateDuplicateFormControllerTest.php +6 −0 Go to diff View file
M plugins/pdftemplate/tests/unit/PdfTemplate/Admin/DisplayPdfTemplateUpdateFormControllerTest.php +6 −0 Go to diff View file
A plugins/pdftemplate/tests/unit/PdfTemplate/Stubs/RetrieveAllImagesStub.php +42 −0 Go to diff View file