stable

Clone or download

Read-only

feat: Duplicate a PDF template

In order to not repeat themselves, PDF template designers should be able to duplicate a template to start a new one. Only the style is duplicated, label and description must be filled for the new template. Part of story #38630: Export to file Change-Id: I38677396d274d9f73f46bef33646ddff06e70fb1

Modified Files

Name
M plugins/pdftemplate/include/PdfTemplate/Admin/DisplayPdfTemplateCreationOrUpdateFormPresenter.php +22 −1 Go to diff View file
A plugins/pdftemplate/include/PdfTemplate/Admin/DisplayPdfTemplateDuplicateFormController.php +90 −0 Go to diff View file
M plugins/pdftemplate/include/PdfTemplate/Admin/PdfTemplatePresenter.php +18 −2 Go to diff View file
M plugins/pdftemplate/include/PdfTemplate/Admin/index.mustache +7 −0 Go to diff View file
M plugins/pdftemplate/include/pdftemplatePlugin.php +16 −0 Go to diff View file
M plugins/pdftemplate/site-content/fr_FR/LC_MESSAGES/tuleap-pdftemplate.po +3 −0 Go to diff View file
A plugins/pdftemplate/tests/unit/PdfTemplate/Admin/DisplayPdfTemplateDuplicateFormControllerTest.php +203 −0 Go to diff View file