stable

Clone or download

Read-only

Edit service in a modal

Part of story #10913: Services management Go to project ยป admin ยป services. Edition of a service is now done in a modal. Please note that some simplifications have been made in conditions. For example, legacy docman does not exist anymore, and some check were done against a variable always true (bad naming => bad code): if (((!$ro)||($hp)) && (!$is_legacy_docman || $su)) with $hp = true, and $is_legacy_docman = false if (((!$ro)||(true)) && (!false || $su)) => if ((!$ro || true) && (true || $su)) => if (true && true) => if (true) Change-Id: I9d134ef9b2a996a482dc0d3de5c052cf399ef846

Modified Files

Name
M site-content/en_US/project/project.tab +1 โˆ’35 Go to diff View file
M site-content/fr_FR/project/project.tab +1 โˆ’35 Go to diff View file
M src/common/project/Service/ServicePresenter.php +31 โˆ’13 Go to diff View file
M src/common/project/Service/ServicesPresenter.php +1 โˆ’1 Go to diff View file
M src/common/project/Service/ServicesPresenterBuilder.php +27 โˆ’2 Go to diff View file
A src/templates/project/admin/services-edit-modal.mustache +175 โˆ’0 Go to diff View file
M src/templates/project/admin/services.mustache +10 โˆ’9 Go to diff View file
D src/www/project/admin/editservice.php +0 โˆ’223 Go to diff View file