stable

Clone or download

Read-only

feat: Display edit PDF template interface

This is an intermediate step before being able to edit a PDF template. For now only the form is displayed. To test: create a new template with a given label, description, and style. Edit it => you should be able to change the label, description, and style. If you click on Save button, you will reach a page not found error since the update is not implemented yet. It will be part of a next contribution. Part of story #38630: Export to file Change-Id: I28dc65af6f4a01cfeaa3c98deb1c856b4d459ed0

Modified Files

Name
M plugins/pdftemplate/include/PdfTemplate/Admin/DisplayPdfTemplateCreationFormController.php +2 −5 Go to diff View file
A plugins/pdftemplate/include/PdfTemplate/Admin/DisplayPdfTemplateCreationOrUpdateFormPresenter.php +72 −0 Go to diff View file
A plugins/pdftemplate/include/PdfTemplate/Admin/DisplayPdfTemplateUpdateFormController.php +87 −0 Go to diff View file
M plugins/pdftemplate/include/PdfTemplate/Admin/PdfTemplatePresenter.php +3 −0 Go to diff View file
R plugins/pdftemplate/include/PdfTemplate/Admin/create.mustache Go to diff View file
M plugins/pdftemplate/include/PdfTemplate/Admin/index.mustache +9 −1 Go to diff View file
M plugins/pdftemplate/include/PdfTemplate/PdfTemplateDao.php +26 −7 Go to diff View file
R plugins/pdftemplate/include/PdfTemplate/Admin/DisplayPdfTemplateCreationFormPresenter.php 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 +6 −0 Go to diff View file
M plugins/pdftemplate/tests/integration/PdfTemplate/PdfTemplateDaoTest.php +11 −0 Go to diff View file
A plugins/pdftemplate/tests/unit/PdfTemplate/Admin/DisplayPdfTemplateUpdateFormControllerTest.php +196 −0 Go to diff View file
A plugins/pdftemplate/tests/unit/PdfTemplate/Stubs/RetrieveTemplateStub.php +49 −0 Go to diff View file