stable

Clone or download

Read-only

Refactoring: Extract a second modal for site admin

Part of story #13566 associate a custom icon to external services How to test: - As Site admin, go to a project's administration and edit a custom service (scope !== system) - The Vue modal should be shown. You should be able to set / unset the "Available (also available for new projects)" checkbox No functional change for Project admin. Change-Id: I6f58b065ac9c0f262953f7007722dfe5b792bbf4

Modified Files

Name
M src/common/Project/Service/IndexController.php +9 −4 Go to diff View file
M src/common/Project/Service/ServicesPresenterBuilder.php +3 −3 Go to diff View file
M src/www/scripts/project/admin/services/po/fr.po +3 −0 Go to diff View file
A src/www/scripts/project/admin/services/src/BaseProjectAdminEditModal.vue +44 −0 Go to diff View file
A src/www/scripts/project/admin/services/src/BaseSiteAdminEditModal.vue +49 −0 Go to diff View file
R src/www/scripts/project/admin/services/src/BaseEditModal.vue Go to diff View file
A src/www/scripts/project/admin/services/src/IsActiveInput.vue +27 −0 Go to diff View file
M src/www/scripts/project/admin/services/src/ProjectScopeService.vue +3 −1 Go to diff View file
M src/www/scripts/project/admin/services/src/edit-modal-initializer.js +11 −14 Go to diff View file
A src/www/scripts/project/admin/services/src/edit-modal-mixin.js +69 −0 Go to diff View file
A src/www/scripts/project/admin/services/src/index-project-admin.js +30 −0 Go to diff View file
A src/www/scripts/project/admin/services/src/index-site-admin.js +30 −0 Go to diff View file
R src/www/scripts/project/admin/services/src/index.js Go to diff View file
M src/www/scripts/webpack.config.js +2 −1 Go to diff View file