stable

Clone or download

Read-only

Delete team button and modal

This is part of story #21792 define Teams associated to Programs How to test: - Go to program administration => Now there is a button for each team to remove it - Click on a button => A modal is opened with message "team will be removed from this program. Please confirm your action" - Click on "Remove team" => The page is reloaded. The team is removed from the program Change-Id: Ia20c7bb64b8f8b1628d7ce3354bfcc1b139257bb

Modified Files

Name
M plugins/program_management/include/DisplayAdminProgramManagementController.php +2 −3 Go to diff View file
M plugins/program_management/include/Domain/Program/Admin/ProgramAdminPresenter.php +7 −2 Go to diff View file
A plugins/program_management/scripts/admin/src/api/manage-team.test.ts +37 −0 Go to diff View file
A plugins/program_management/scripts/admin/src/api/manage-team.ts +33 −0 Go to diff View file
A plugins/program_management/scripts/admin/src/display-teams-to-aggregate.test.ts +59 −0 Go to diff View file
A plugins/program_management/scripts/admin/src/display-teams-to-aggregate.ts +37 −0 Go to diff View file
A plugins/program_management/scripts/admin/src/helper/aggregated-team-ids-extractor.test.ts +55 −0 Go to diff View file
A plugins/program_management/scripts/admin/src/helper/aggregated-team-ids-extractor.ts +45 −0 Go to diff View file
A plugins/program_management/scripts/admin/src/helper/button-to-remove-team-handler.test.ts +51 −0 Go to diff View file
A plugins/program_management/scripts/admin/src/helper/button-to-remove-team-handler.ts +44 −0 Go to diff View file
M plugins/program_management/scripts/admin/src/index.ts +13 −12 Go to diff View file
A plugins/program_management/scripts/admin/src/remove-team.ts +43 −0 Go to diff View file
A plugins/program_management/scripts/admin/src/type.ts +23 −0 Go to diff View file
M plugins/program_management/site-content/fr_FR/LC_MESSAGES/tuleap-program_management.po +19 −0 Go to diff View file
M plugins/program_management/templates/admin/admin.mustache +1 −1 Go to diff View file
M plugins/program_management/templates/admin/teams/admin-aggregated-teams.mustache +1 −0 Go to diff View file
M plugins/program_management/templates/admin/teams/admin-list-teams.mustache +9 −0 Go to diff View file
A plugins/program_management/templates/admin/teams/modals/admin-remove-team-modal.mustache +26 −0 Go to diff View file
M plugins/program_management/themes/program_management/_admin.scss +4 −0 Go to diff View file