stable

Clone or download

Read-only

Implement MVC for details page

This is part of story #10061 new project admin homepage and navigation How to test: - In site admin, go in the "custom project fields" section - Define some custom fields, at least: * One mandatory field. * One textarea field. * One string field. * One field named project_desc_name:full_desc - In project admin, go the the project details section. --> The field named project_desc_name:full_desc has the label "Full description" - Click on submit. --> A feedback box warn you that mandatory fields are missing. - Fill in mandatory fields and submit. --> Project details have been updated with success. - Fill in a non-mandatory field and submit. --> The field has been updated with success. - Clear the non-mandatory field and submit. -->The field has been cleared with success. - Add a parent project and submit. --> The parent project has been added with sucess. --> The parent project is listed in the parent project section. - Click on the parent project name --> you are redirected to the details section of the parent project. --> The precedent project is listed in the children project section. --> You are redirected to this project if you click on it. - Remove the parent project. --> The parent project has been removed with success. Change-Id: I9b23599e534a840dbf319ffcf2e65d6de9b0eac1

Modified Files

Name
M site-content/en_US/project/project.tab +19 −34 Go to diff View file
M site-content/fr_FR/LC_MESSAGES/tuleap-core.po +72 −0 Go to diff View file
M site-content/fr_FR/project/project.tab +28 −43 Go to diff View file
M site-content/tuleap-core.pot +61 −0 Go to diff View file
M src/common/autoload.php +10 −2 Go to diff View file
A src/common/project/Admin/ProjectDetails/CannotCreateProjectDescriptionException.php +31 −0 Go to diff View file
A src/common/project/Admin/ProjectDetails/CannotDeleteProjectDescriptionException.php +31 −0 Go to diff View file
A src/common/project/Admin/ProjectDetails/CannotUpdateProjectDescriptionException.php +31 −0 Go to diff View file
A src/common/project/Admin/ProjectDetails/ProjectDetailsController.php +419 −0 Go to diff View file
A src/common/project/Admin/ProjectDetails/ProjectDetailsDAO.php +108 −0 Go to diff View file
A src/common/project/Admin/ProjectDetails/ProjectDetailsPresenter.php +95 −0 Go to diff View file
A src/common/project/Admin/ProjectDetails/ProjectDetailsRouter.php +71 −0 Go to diff View file
A src/templates/project/project-details.mustache +78 −0 Go to diff View file
M src/www/project/admin/editgroupinfo.php +25 −291 Go to diff View file