stable

Clone or download

Read-only

Refactoring: Extract a single Custom service edition modal

Part of story #13566 associate a custom icon to external services How to test: Given you are not super admin, When you edit a custom service (Scope !== system) Then the Vue modal will be shown instead of the "mustache" one. This modal does not change the behaviour at all, you can still edit Title, Description, link when there isn't one, etc. When you are super admin, the "mustache" modal is still shown. When you edit a system service, the "mustache" modal is still shown. Change-Id: Ic636d969be9672a0771a618a142136a652cdd384

Modified Files

Name
M build-manifest.json +4 −0 Go to diff View file
M src/common/Project/Service/IndexController.php +2 −2 Go to diff View file
A src/common/Project/Service/ServiceJSONPresenter.php +63 −0 Go to diff View file
M src/common/Project/Service/ServicePresenter.php +23 −11 Go to diff View file
M src/common/Project/Service/ServicesPresenter.php +6 −2 Go to diff View file
M src/common/Project/Service/ServicesPresenterBuilder.php +7 −1 Go to diff View file
R src/templates/project/admin/services-add-modal.mustache Go to diff View file
R src/templates/project/admin/services-delete-modal.mustache Go to diff View file
R src/templates/project/admin/services-edit-modal.mustache Go to diff View file
R src/templates/project/admin/services.mustache Go to diff View file
M src/www/scripts/project/admin/index.js +0 −1 Go to diff View file
A src/www/scripts/project/admin/services/po/fr.po +59 −0 Go to diff View file
A src/www/scripts/project/admin/services/src/BaseEditModal.vue +131 −0 Go to diff View file
A src/www/scripts/project/admin/services/src/ProjectScopeService.vue +158 −0 Go to diff View file
A src/www/scripts/project/admin/services/src/VueTranslater.vue +46 −0 Go to diff View file
A src/www/scripts/project/admin/services/src/edit-modal-initializer.js +42 −0 Go to diff View file
R src/www/scripts/project/admin/services.js Go to diff View file
M src/www/scripts/project/po/fr.po +0 −7 Go to diff View file
M src/www/scripts/webpack.config.js +3 −2 Go to diff View file